Bone Collector
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 27413 Accepted Submission(s): 11154
Problem Description
Many years ag...
分类:
其他好文 时间:
2014-06-15 13:28:47
阅读次数:
142
题目链接:
http://poj.org/problem?id=3411
题目:
Paid Roads
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 5080
Accepted: 1784
Description
A network of m r...
分类:
其他好文 时间:
2014-06-15 13:25:24
阅读次数:
179
I NEED A OFFER!
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 15266 Accepted Submission(s): 6031
Problem Description
Speakless很早就想...
分类:
其他好文 时间:
2014-06-15 12:14:45
阅读次数:
204
Problem Description
In a factory, there are N workers to finish two types of tasks (A and B). Each type has N tasks. Each task of type A needs xi time to finish, and each task of type B needs yj ti...
分类:
其他好文 时间:
2014-06-15 11:26:42
阅读次数:
195
Problem Description
读入两个小于100的正整数A和B,计算A+B.
需要注意的是:A和B的每一位数字由对应的英文单词给出.
Input
测试输入包含若干测试用例,每个测试用例占一行,格式为"A + B =",相邻两字符串有一个空格间隔.当A和B同时为0时输入结束,相应的结果不要输出.
Output
对每个测试...
分类:
其他好文 时间:
2014-06-15 10:04:20
阅读次数:
241
Problem Description
输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一行用空格分割的若干非负整数(可能有些整数以‘0’开头,这些头部的‘0’应该被忽略掉,除非这个整数就是由若干个‘0’组成的,这时这个整数就是0)。
你的任务是:对这些分割得到的整数,依从小到大的顺序排序输出。
Input
输入包含多组测试用例,每组输...
分类:
其他好文 时间:
2014-06-15 10:01:17
阅读次数:
195
符号三角形
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 860 Accepted Submission(s): 437
Problem Description
符号三角形的 第1行有n个由“+”和”-“组...
分类:
其他好文 时间:
2014-06-15 09:57:06
阅读次数:
185
You are self-motivated.As a small business owner,you won't hava a boss to tell you when to get to work.If that's a problem,keep your day job.
You can work with number.You will spend a fair amount of time keeping track of money expenses,revenues,taxs...
分类:
其他好文 时间:
2014-06-14 12:10:26
阅读次数:
253
Problem Description
give you a string, please output the result of the following function mod 1000000007
n is the length of the string
f() is the function of fibonacci, f(0) = 0, f(1) = 1...
a...
分类:
其他好文 时间:
2014-06-14 11:45:49
阅读次数:
243
http://poj.org/problem?id=3735
大致题意:
有n只猫,开始时每只猫有花生0颗,现有一组操作,由下面三个中的k个操作组成:
1. g i 给i只猫一颗花生米
2. e i 让第i只猫吃掉它拥有的所有花生米
3. s i j 将猫i与猫j的拥有的花生米交换
现将上述一组操作循环m次后,问每只猫有多少颗花生?
再一次感受到了...
分类:
其他好文 时间:
2014-06-14 10:54:33
阅读次数:
234