A == B ? Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 64239 Accepted Submission(s): 10060 Problem Description Give you two numbers A and B, if A is equal to B, you should print "YES"…
http://acm.hdu.edu.cn/showproblem.php?pid=1372 Knight Moves Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6439 Accepted Submission(s): 3886 Problem Description A friend of you is doing res…
Wooden Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 12157 Accepted Submission(s): 5036 Problem Description There is a pile of n wooden sticks. The length and weight of each stick a…
Binary Number Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1287 Accepted Submission(s): 807 Problem Description For 2 non-negative integers x and y, f(x, y) is defined as the number of di…
也可以看看GCD Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 11122 Accepted Submission(s): 4696 Problem Description 有三个正整数a,b,c(0<a,b,c<10^6),当中c不等于b.若a和c的最大公约数为b,现已知a和b,求满足条件的最小的c. Input 第一行…
这个夏天不AC Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 28304 Accepted Submission(s): 15023 Problem Description "今年暑假不AC?" "是的." "那你干什么呢?" "看世界杯呀.笨蛋." &quo…
http://acm.hdu.edu.cn/showproblem.php? pid=1052 Tian Ji -- The Horse Racing Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 18058 Accepted Submission(s): 5239 Problem Description Here is a f…