摘要: DescriptionThe cows have a line of 20 water bowls from which they drink. The bowls can be either right-side-up (properly oriented to serve refreshing ... 阅读全文
posted @ 2015-12-12 22:09 UniqueColor 阅读(356) 评论(0) 推荐(0)
摘要: Problem Description北京迎来了第一个奥运会,我们的欢呼声响彻中国大地,所以今年的奥运金牌 day day up!比尔盖兹坐上鸟巢里,手里摇着小纸扇,看的不亦乐乎,被俺们健儿的顽强拼搏的精神深深的感动了。反正我的钱也多的没地方放了,他对自己说,我自己也来举办一个奥运会,看谁的更火。不... 阅读全文
posted @ 2015-12-12 17:27 UniqueColor 阅读(310) 评论(0) 推荐(0)
摘要: Problem DescriptionLele now is thinking about a simple function f(x).If x = 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x-3) + …… + a9 * f(x-10);And ... 阅读全文
posted @ 2015-12-12 16:38 UniqueColor 阅读(292) 评论(0) 推荐(0)
摘要: Problem DescriptionA为一个方阵,则Tr A表示A的迹(就是主对角线上各项的和),现要求Tr(A^k)%9973。Input数据的第一行是一个T,表示有T组数据。每组数据的第一行有n(2 2 #include 3 #include 4 using namespace std; 5... 阅读全文
posted @ 2015-12-12 16:23 UniqueColor 阅读(284) 评论(0) 推荐(0)
摘要: Problem DescriptionAn Arc of Dream is a curve defined by following function:wherea0 = A0ai = ai-1*AX+AYb0 = B0bi = bi-1*BX+BYWhat is the value of AoD(... 阅读全文
posted @ 2015-12-12 16:12 UniqueColor 阅读(280) 评论(0) 推荐(0)