K-th NumberTime Limit: 20000MS Memory Limit: 65536KTotal Submissions: 20110 Accepted: 5251Case Time Limit: 2000MSDescriptionYou are working for Macrohard company in data structures department. After failing your previous task about key insertion you
DivisibilityTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 524 Accepted Submission(s): 171Problem DescriptionAs we know,the fzu AekdyCoin is famous of math,especially in the field of number
CupTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 486 Accepted Submission(s): 150Problem DescriptionThe WHU ACM Team has a big cup, with which every member drinks water. Now, we know the
GPATime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 317 Accepted Submission(s): 194Problem DescriptionEach course grade is one of the following five letters: A, B, C, D, and F. (Note that
More is betterTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 327680/102400 K (Java/Others)Total Submission(s): 1576 Accepted Submission(s): 590Problem DescriptionMr Wang wants some boys to help him with a project. Because the project is
Can you find it?Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/10000 K (Java/Others)Total Submission(s): 1836 Accepted Submission(s): 400Problem DescriptionGive you three sequences of numbers A, B, C, then we give you a number X.
Mayor's postersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 14306 Accepted: 3997DescriptionThe citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at
TilingTime Limit:1sMemory limit:32MAccepted Submit:197Total Submit:496In how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles? Here is a sample tiling of a 2x17 rectangle. Input is a sequence of lines, each line containing an integer
Name PK Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 148 Accepted Submission(s): 75Problem DescriptionName PK is a funny game on the Internet. The game will calculate character's
GCDTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1323 Accepted Submission(s): 449Problem DescriptionGiven 5 integers: a, b, c, d, k, you're to find x in a...b, y in c...d that GCD(x, y) =
1297. PalindromeTime Limit: 1.0 secondMemory Limit: 16 MBThe “U.S. Robots” HQ has just received a rather alarming anonymous letter. It states that the agent from the competing «Robots Unlimited» has infiltrated into “U.S. Robotics”. «U.S. Robots»
bool isSqr(int n){ int a = int(sqrt(n) + 0.5); return a * a == n;}bool isSqr(int n) { int a = (int)(sqrt(n) + 0.0001); return a * a == n; } bool isSqr(int n) { int a = (int)sqrt(n * 1.0); if(a*a == n || (a+1)*(a+1) == n || (a-1
Problem of PrecisionTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 240 Accepted Submission(s): 117Problem Description InputThe first line of input gives the number of cases, T. T test