摘要:
Description 在 W 星球上有 n 个国家。为了各自国家的经济发展,他们决定在各个国家 之间建设双向道路使得国家之间连通。但是每个国家的国王都很吝啬,他们只愿 意修建恰好 n – 1条双向道路。 每条道路的修建都要付出一定的费用, 这个费用等于道路长度乘以道路两端的国家个数之差的绝对值。例 阅读全文
2016年7月12日
摘要:
Description standard input/output Islam is usually in a hurry. He often types his passwords incorrectly. He hates retyping his password several times 阅读全文
摘要:
C. The World is a Theatre time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. The World i 阅读全文
2016年7月11日
摘要:
standard input/output You must have heard about Agent Mahone! Dr. Ibrahim hired him to catch the cheaters in the Algorithms course. N students cheated 阅读全文
摘要:
Description standard input/output Announcement Statements There is a set of n segments with the lengths li. Find a segment with an integer length so t 阅读全文
摘要:
Description standard input/output Announcement Statements A permutation of n numbers is a sequence of integers from 1 to n where each number is occurr 阅读全文
摘要:
区间的价值 Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 844 Accepted Submission(s): 398 Problem De 阅读全文
摘要:
Feel Good Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 12409 Accepted: 3484 Case Time Limit: 1000MS Special Judge Description Bill is de 阅读全文
2016年7月10日
摘要:
Balls Rearrangement Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2862 Accepted Submission(s): 阅读全文
摘要:
B. Mike and Shortcuts time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output B. Mike and Shortc 阅读全文