摘要: A. Little Elephant and Chess 模拟。 B. Little Elephant and Magic Square 枚举左上角,计算其余两个位置的值,在$3\times 3$判断是否符合题意。 C. Little Elephant and Bits 去掉最前面的0,可以使后面的 阅读全文
posted @ 2016-11-18 22:29 mcginn 阅读(184) 评论(0) 推荐(0) 编辑
摘要: A. Greg's Workout 模3求和,算最大值。 B. Code Parsing 最后左半部分为x,右半部分为y,那么从中间不断去掉xy,直到其中一种全部消去。 C. Almost Arithmetical Progression 构成的序列为两种值交替出现。 离散化后,用$f(i,j)$表 阅读全文
posted @ 2016-11-18 22:19 mcginn 阅读(176) 评论(0) 推荐(0) 编辑