摘要:4260: 游戏高手 描述 zzd是一位游戏高手,有一天,他接触了一款很酷也很难的游戏。 但是他依然无压力的通关了,下面有几种记录,可以描述他通关的过程。 (1). START T 表示他在T(现实中的)时间开始了这一关。 (2). SAVE T 表示他在T时间对进度进行了保存。 (3). LOAD
阅读全文
摘要:4879: 积木大赛 描述 春春幼儿园举办了一年一度的“积木大赛”。今年比赛的内容是搭建一座宽度为n的大厦,大厦可以看成由n块宽度为1的积木组成,第n块积木的最终高度需要是hi。 在搭建开始之前,没有任何积木(可以看成n块高度为 0 的积木)。接下来每次操作,小朋友们可以选择一段连续区间[L,R],
阅读全文
摘要:4850: 数列 描述 给定一个正整数k(3≤k≤15),把所有k的方幂及所有有限个互不相等的k的方幂之和构成一个递增的序列,例如,当k=3时,这个序列是: 1,3,4,9,10,12,13,… (该序列实际上就是:3^0,3^1,3^0+3^1,3^2,3^0+3^2,3^1+3^2, 3^0+3
阅读全文
摘要:4858: 多项式输出 描述 一元 n 次多项式可用如下的表达式表示: 其中,a_i?x^i 称为i次项,a_i称为i 次项的系数。给出一个一元多项式各项的次数和系 数,请按照如下规定的格式要求输出该多项式: 1. 多项式中自变量为x,从左到右按照次数递减顺序给出多项式。 2. 多项式中只包含系数不
阅读全文
摘要:4163: Encrypt 描述 Every evening, little Ivica sends secret messages to little Marica through e-mail. Knowing Ivica's e-letter travels unguarded through
阅读全文
摘要:3560: Ordered Fractions 描述 Consider the set of all reduced fractions between 0 and 1 inclusive with denominators less than or equal to N. Here is the
阅读全文
摘要:4687: 除法 描述 一道简单的枚举题 输入 输入包括多个正整数n,2<=n<=79。 输出 按从小到大的顺序输出所有形如 abcde/fghij = n的表达式,其中a~j恰好为数字0~9的一个排列。 没有满足要求的等式,输出Error 样例输入 62 样例输出 79546 / 01283 =
阅读全文
摘要:1596: Jumping Cows 时间限制(普通/Java):1000MS/10000MS 内存限制:65536KByte 描述 Farmer John's cows would like to jump over the moon, just like the cows in their fa
阅读全文
摘要:3520: Prime Palindromes 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 描述 The number 151 is a prime palindrome because it is both a prime number and a pa
阅读全文
摘要:5480: 孤衾易暖 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 描述 哇,好难,我要放弃了(扶我起来,我还能A 寒夜纵长,孤衾易暖,钟鼓渐清圆。 生活也许有些不如意的地方,但是没有什么是拥有一只猫不能解决的,我最喜欢苏格兰折耳猫。 现在我有n只小猫,我要
阅读全文
摘要:4212: Buy Candy 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 描述 Mirko buys a lot of candy in the candy shop. He cannot always pay the exact amount so t
阅读全文
摘要:3939: FIFA World Cup 2006 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 描述 Football is one of the most popular words in 2006. Bob cannot go to Germany f
阅读全文
摘要:4997: Waiting for Change 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 描述 Each student in a certain high school Calculus class must pay $15 for the late
阅读全文
摘要:1247: Hat's Fibonacci 时间限制(普通/Java):1000MS/10000MS 内存限制:32768KByte 描述 A Fibonacci sequence is calculated by adding the previous two members the sequen
阅读全文
摘要:2755: 国际象棋 时间限制(普通/Java):10000MS/30000MS 内存限制:65536KByte 描述 在n*n的国际象棋棋盘中,给定一“马(Knight)”和一“后(Queen)”的位置,问“马”能否在m步之内(包括m步)到达“后”的位置?马的走法是:每步棋先横走或直走一格,然后再
阅读全文