摘要: 奥运 Problem Description 北京迎来了第一个奥运会,我们的欢呼声响彻中国大地,所以今年的奥运金牌 day day up!比尔盖兹坐上鸟巢里,手里摇着小纸扇,看的不亦乐乎,被俺们健儿的顽强拼搏的精神深深的感动了。反正我的钱也多的没地方放了,他对自己说,我自己也来举办一个奥运会,看谁的 阅读全文
posted @ 2017-02-08 21:55 勿忘初心0924 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Tr A Problem Description A为一个方阵,则Tr A表示A的迹(就是主对角线上各项的和),现要求Tr(A^k)%9973。 Input 数据的第一行是一个T,表示有T组数据。每组数据的第一行有n(2 <= n <= 10)和k(2 <= k < 10^9)两个数据。接下来有n行 阅读全文
posted @ 2017-02-08 17:39 勿忘初心0924 阅读(193) 评论(0) 推荐(0) 编辑
摘要: A Simple Game Problem Description Agrael likes play a simple game with his friend Animal during the classes. In this Game there are n piles of stones 阅读全文
posted @ 2017-02-08 01:03 勿忘初心0924 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Be the Winner Problem Description Let's consider m apples divided into n groups. Each group contains no more than 100 apples, arranged in a line. You 阅读全文
posted @ 2017-02-08 00:48 勿忘初心0924 阅读(546) 评论(0) 推荐(0) 编辑
摘要: John Problem Description Little John is playing very funny game with his younger brother. There is one big box filled with M&Ms of different colors. A 阅读全文
posted @ 2017-02-08 00:18 勿忘初心0924 阅读(312) 评论(0) 推荐(0) 编辑