随笔分类 - 数——学--矩阵
摘要:Covering Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 187 Accepted Submission(s): 107 Problem
阅读全文
摘要:A Short problem Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2711 Accepted Submission(s): 951
阅读全文
摘要:Queuing Problem Description Queues and Priority Queues are data structures which are known to most computer scientists. The Queue occurs often in our
阅读全文
摘要:A Very Simple Problem Problem Description This is a very simple problem. Given three integers N, x, and M, your task is to calculate out the following
阅读全文
摘要:Lucky Coins Sequence Problem Description As we all know,every coin has two sides,with one side facing up and another side facing down.Now,We consider
阅读全文
摘要:Chinese Rings Problem Description Dumbear likes to play the Chinese Rings (Baguenaudier). It’s a game played with nine rings on a bar. The rules of th
阅读全文
摘要:Fibonacci Numbers Problem Description The Fibonacci sequence is the sequence of numbers such that every element is equal to the sum of the two previou
阅读全文
摘要:Fibonacci Check-up Problem Description Every ALPC has his own alpc-number just like alpc12, alpc55, alpc62 etc.As more and more fresh man join us. How
阅读全文
摘要:Pendant Problem Description On Saint Valentine's Day, Alex imagined to present a special pendant to his girl friend made by K kind of pearls. The pend
阅读全文
摘要:奥运 Problem Description 北京迎来了第一个奥运会,我们的欢呼声响彻中国大地,所以今年的奥运金牌 day day up!比尔盖兹坐上鸟巢里,手里摇着小纸扇,看的不亦乐乎,被俺们健儿的顽强拼搏的精神深深的感动了。反正我的钱也多的没地方放了,他对自己说,我自己也来举办一个奥运会,看谁的
阅读全文
摘要: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行
阅读全文
摘要:Ipad,IPhone Problem Description In ACM_DIY, there is one master called “Lost”. As we know he is a “-2Dai”, which means he has a lot of money. Well, Lo
阅读全文
摘要:A Simple Math Problem Problem Description Lele now is thinking about a simple function f(x).If x < 10 f(x) = x.If x >= 10 f(x) = a0 * f(x-1) + a1 * f(
阅读全文