2018年8月26日

摘要: 题目描述 一个学校里老师要将班上 NN 个同学排成一列,同学被编号为 $1~N$ ,他采取如下的方法: 先将 11 号同学安排进队列,这时队列中只有他一个人; 2-N2−N 号同学依次入列,编号为i的同学入列方式为:老师指定编号为i的同学站在编号为 1-(i -1)1−(i−1) 中某位同学(即之前 阅读全文
posted @ 2018-08-26 20:56 Lis~ 阅读(614) 评论(0) 推荐(0) 编辑
 
摘要: D. Concatenated Multiples You are given an array aa, consisting of nn positive integers. Let's call a concatenation of numbers xx and yy the number th 阅读全文
posted @ 2018-08-26 15:30 Lis~ 阅读(512) 评论(0) 推荐(0) 编辑