畅通工程
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 16075 Accepted Submission(s): 6677
Problem Description
省政府“畅通工程”的目标...
分类:
其他好文 时间:
2014-07-15 22:20:11
阅读次数:
225
How Many Tables
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 12689 Accepted Submission(s): 6223
Problem Description
Today is Igna...
分类:
其他好文 时间:
2014-07-15 13:04:03
阅读次数:
324
This is really classic searching problem to solve. The key is pruning.(My reference:http://blog.csdn.net/lyy289065406/article/details/6647960)There ar...
分类:
其他好文 时间:
2014-07-15 10:04:36
阅读次数:
221
本题题意为求 t (t#include #include #define maxn 100010using namespace std;int sign[maxn];int pri[maxn];int tot;int e;int n[200],k[200];void getpri (){ me...
分类:
其他好文 时间:
2014-07-14 19:06:58
阅读次数:
248
完美数
Time Limit: 2000/1000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)
SubmitStatisticNext Problem
Problem Description
8是中国人很喜欢的一个数字,但是如果有3的存在就变成了38,就不是很好了。。
你能告诉我,在[L, R...
分类:
其他好文 时间:
2014-07-14 18:21:09
阅读次数:
171
Problem Description
某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一定有直接的道路相连,只要互相间接通过道路可达即可)。问最少还需要建设多少条道路?
Input
测试输入包含若干测试用例。每个测试用例的第1行给出两个正整数,分别是城镇数目N ...
分类:
其他好文 时间:
2014-07-14 17:19:27
阅读次数:
224
I - The 3n + 1 problem(2.4.2)
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
Problems in Computer Science are often classified a...
分类:
其他好文 时间:
2014-07-14 17:14:52
阅读次数:
214
Bomb
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)
Total Submission(s): 6609 Accepted Submission(s): 2303
Problem Description
The counte...
分类:
其他好文 时间:
2014-07-14 16:57:16
阅读次数:
219
How Many Tables
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 12657 Accepted Submission(s): 6204
Problem Description
Today is...
分类:
其他好文 时间:
2014-07-14 16:48:45
阅读次数:
265
不要62
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 18410 Accepted Submission(s): 6159
Problem Description
杭州人称那些傻乎乎粘嗒嗒的人为62(音:...
分类:
其他好文 时间:
2014-07-14 16:48:00
阅读次数:
161