上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 46 下一页
摘要: 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 @ 2018-05-24 09:06 starry_sky 阅读(159) 评论(0) 推荐(0) 编辑
摘要: S-Nim Problem Description Arthur and his sister Caroll have been playing a game called Nim for some time now. Nim is played as follows: The starting p 阅读全文
posted @ 2018-05-23 22:47 starry_sky 阅读(163) 评论(0) 推荐(0) 编辑
摘要: K-th Number Description You are working for Macrohard company in data structures department. After failing your previous task about key insertion you 阅读全文
posted @ 2018-05-14 21:28 starry_sky 阅读(185) 评论(0) 推荐(0) 编辑
摘要: A. Remove Duplicates Petya has an array aa consisting of nn integers. He wants to remove duplicate (equal) elements. Petya wants to leave only the rig 阅读全文
posted @ 2018-05-13 20:08 starry_sky 阅读(798) 评论(0) 推荐(0) 编辑
摘要: A. Aramic script In Aramic language words can only represent objects. Words in Aramic have special properties: A word is a root if it does not contain 阅读全文
posted @ 2018-05-13 12:18 starry_sky 阅读(339) 评论(0) 推荐(0) 编辑
摘要: A. Wrong Subtraction A. Wrong Subtraction Little girl Tanya is learning how to decrease a number by one, but she does it wrong with a number consistin 阅读全文
posted @ 2018-05-12 12:38 starry_sky 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 题目描述 这是一个加强版的斐波那契数列。 给定递推式 求F(n)的值,由于这个值可能太大,请对109+7取模。 输入描述: 第一行是一个整数T(1 ≤ T ≤ 1000),表示样例的个数。以后每个样例一行,是一个整数n(1 ≤ n ≤ 1018)。 输出描述: 每个样例输出一行,一个整数,表示F(n 阅读全文
posted @ 2018-05-09 22:43 starry_sky 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Kiki & Little Kiki 2 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2915 Accepted Submission(s): 阅读全文
posted @ 2018-05-08 18:06 starry_sky 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Chinese Rings Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1221 Accepted Submission(s): 722 Pr 阅读全文
posted @ 2018-05-08 11:44 starry_sky 阅读(271) 评论(0) 推荐(0) 编辑
摘要: A. Plant Dwarfs have planted a very interesting plant, which is a triangle directed "upwards". This plant has an amusing feature. After one year a tri 阅读全文
posted @ 2018-05-06 22:31 starry_sky 阅读(371) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 46 下一页