Sicily
文章平均质量分 78
pjr要努力
明年这个时候,pjr会成为研究生,考研加油!
展开
-
Sicily1561——Prime
1561. PRIME限制条件时间限制: 1 秒, 内存限制: 32 兆 题目描述A prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. The first prime number is 2. Can you write a原创 2016-05-24 13:20:27 · 366 阅读 · 0 评论 -
sicily——Up Stairs
Description小明在走楼梯,他每步可以跨一级、二级或者三级楼梯。请问从平地开始,走到第n(1 Input第一行为一个整数m,表示测试用例个数。接下来有m行,每一行包含一个正整数n。Output对于每一个正整数n,输出走法数目,每个输出值占一行。Sample Input Copy sample input to clipboard原创 2016-02-21 19:45:27 · 251 阅读 · 0 评论 -
Sicily1134——积木分发
1134. 积木分发ConstraintsTime Limit: 10 secs, Memory Limit: 32 MB Description歌手The Pancakes到幼儿园跟小朋友玩耍,她到达的时候小朋友们已经争着积木玩了。小朋友都想要更多的积木砌一个自己喜欢的图形,砌完就可以和The Pancakes合照。同时,The Pancakes手上还有一些积木,她可以把手上原创 2016-05-21 17:36:50 · 656 阅读 · 0 评论 -
Sicily1823——Hardest Job Ever!
1823. Hardest Job Ever!限制条件时间限制: 1 秒, 内存限制: 32 兆 题目描述This is really hard, find the number of zeros in the number 12345678987654321!, here ‘!’ means factorial.Well, I’m kidding. No one on e原创 2016-05-22 10:49:12 · 491 阅读 · 1 评论 -
Sicily1934——移动小球
1934. 移动小球限制条件时间限制: 1 秒, 内存限制: 32 兆 题目描述你有一些小球,从左到右依次编号为1,2,3,...,n. 你可以执行两种指令(1或者2)。其中, 1 X Y表示把小球X移动到小球Y的左边, 2 X Y表示把小球X移动到小球Y右边。 指令保证合法,即X不等于Y。 例如,初始状态1,2,3,4,5,6的小球执行1 1 4后,小球1被移动到小球4的左边原创 2016-05-22 23:17:13 · 448 阅读 · 0 评论 -
Sicily1020——Big Integer
1020. Big IntegerConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionLong long ago, there was a super computer that could deal with VeryLongIntegers(no VeryLongInteger will be nega原创 2016-06-03 11:27:56 · 528 阅读 · 0 评论 -
Sicily1443—— Printer Queue
1443. Printer QueueConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionThe only printer in the computer science students' union is experiencing an extremely heavy workload. Sometim原创 2016-06-02 15:05:37 · 569 阅读 · 0 评论 -
Sicily1222——单词选择
1222. 单词选择ConstraintsTime Limit: 1 secs, Memory Limit: 32 MB Description我们都知道,学习英语单词最好的方法就是在相应的句子和语言环境中去学习它。小W最近定下了一个学习单词的计划,他有n个单词要背,但他想在通过背出一篇文章中的一段来记住这些单词。假定现在小W手头有一篇包含m个单词的文章,现在他想在文章中找原创 2016-05-27 22:35:50 · 469 阅读 · 0 评论 -
Sicily1282——Computer Game
1282. Computer Game限制条件时间限制: 1 秒, 内存限制: 32 兆 题目描述Brian is an enthusiast of computer games, especially those that simulate virtual reality. Now he is in front of the Star Gate. In order to op原创 2016-05-27 12:10:41 · 493 阅读 · 0 评论 -
Sicily1544——Integer Generator
1544. Integer Generator限制条件时间限制: 1 秒, 内存限制: 32 兆 题目描述As part of a larger scale project, you need to write a component which generates consecutive positive integers. Only certain digits may a原创 2016-05-26 00:52:06 · 547 阅读 · 0 评论 -
Sicily1566——4SUM
1566. 4SUM时间限制:1秒 内存限制:32兆 题目描述 In this task, you are provided with four sets of integers. Your task consists of selecting one integer from each set, such that their sum is 0. You can assume that原创 2016-05-25 22:32:29 · 273 阅读 · 0 评论 -
Sicily2000——Toy Shopping
2000. Toy Shopping限制条件时间限制: 1 秒, 内存限制: 64 兆 题目描述Bessie wants some toys. She's been saving her allowance for years, and has an incredibly huge stash. However, she is quite frugal and wants to原创 2016-05-25 00:27:02 · 360 阅读 · 0 评论 -
Sicily1201——01000001
1201. 01000001限制条件时间限制: 1 秒, 内存限制: 32 兆 题目描述Adding binary numbers is a very simple task, and very similar to the longhand addition of decimal numbers. As with decimal numbers, you start by a原创 2016-05-24 22:25:14 · 427 阅读 · 1 评论 -
Sicily1344——数列
1344. 数列限制条件时间限制: 1 秒, 内存限制: 32 兆 题目描述给定一个正整数k(3≤k≤15),把所有k的方幂及所有有限个互不相等的k的方幂之和构成一个递增的序列,例如,当k=3时,这个序列是: 1,3,4,9,10,12,13,… (该序列实际上就是:30,31,30+31,32,30+32,31+32,30+31+32,…) 请你求出这个序列的第N原创 2016-05-24 21:29:04 · 450 阅读 · 0 评论 -
SIcily——最小剩余数字
1006. 最小剩余数字(*hard) Total:358Accepted:59 Time Limit: 1sec Memory Limit:256MB Description 给原创 2016-02-01 21:39:37 · 524 阅读 · 0 评论