亲戚Time Limit:1000MSMemory
Limit:65535KBSubmissions:214Accepted:82Description若某个家族人员过于庞大,要判断两个是否是亲戚,确实还很不容易,现在给出某个亲戚关系图,求任意给出的两个人是否具有亲戚关系。
规定:x和y是亲戚,y和...
分类:
其他好文 时间:
2014-05-08 11:21:14
阅读次数:
307
Communication SystemTime Limit:1000MSMemory
Limit:10000KTotal Submissions:22380Accepted:7953DescriptionWe have received an
order from Pizoor Communica...
分类:
其他好文 时间:
2014-05-08 11:19:16
阅读次数:
278
Lowest Common Multiple PlusTime Limit: 2000/1000 MS
(Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
31453Accepted Submissio...
分类:
其他好文 时间:
2014-05-08 10:11:42
阅读次数:
333
汉字统计Time Limit: 2000/1000 MS
(Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
22508Accepted Submission(s): 12255Problem Desc...
分类:
其他好文 时间:
2014-05-08 10:04:00
阅读次数:
306
As Easy As A+BTime Limit: 2000/1000 MS
(Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
35088 Accepted Submission(s):...
分类:
其他好文 时间:
2014-05-08 09:54:28
阅读次数:
260
K-th NumberTime Limit:20000MSMemory
Limit:65536KTotal Submissions:35653Accepted:11382Case Time
Limit:2000MSDescriptionYou are working for Macrohard co...
分类:
其他好文 时间:
2014-05-08 05:24:50
阅读次数:
387
在java字符串方法中有一个非常好用的方法split(),该方法可以把字符串直接分割为数组此方法有两个重载。
一是:split(regex),参数为要分隔的字符串或者正则表达式。
二是:ss.split(regex, limit)。此方法可以的第二个参数一般不太常用,
这两个方法api给的解释是:limit 参数控制模式应用的次数,因此影响所得数组的长度。如果该限制 n 大于
0,则模式...
分类:
编程语言 时间:
2014-05-08 00:11:49
阅读次数:
417
点击打开链接
ROADS
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 10202
Accepted: 3786
Description
N cities named with numbers 1 ... N are connected with o...
分类:
其他好文 时间:
2014-05-07 23:42:01
阅读次数:
617
Hotter Colder
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 2343
Accepted: 981
Description
The children's game Hotter Colder is played as follows. Player A...
分类:
其他好文 时间:
2014-05-07 23:39:58
阅读次数:
590
确定比赛名次
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 10358 Accepted Submission(s): 4046
Problem Description
有N个比赛队(1
...
分类:
其他好文 时间:
2014-05-07 22:58:01
阅读次数:
323