上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 41 下一页

POJ 1845 Sumdiv

摘要: SumdivTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 10515Accepted: 2477DescriptionConsider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901).InputThe only line contains the two natural numbers A an 阅读全文
posted @ 2012-10-22 23:52 江财小子 阅读(191) 评论(0) 推荐(0) 编辑

hdu 1199 Color the Ball

摘要: Color the BallTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3081Accepted Submission(s): 762Problem DescriptionThere are infinite balls in a line (numbered 1 2 3 ....), and initially all of them are paint black. Now Jim use a brush paint the balls 阅读全文
posted @ 2012-10-22 16:21 江财小子 阅读(803) 评论(0) 推荐(0) 编辑

hdu 4282 A very hard mathematic problem

摘要: A very hard mathematic problemTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2489Accepted Submission(s): 728Problem Description Haoren is very good at solving mathematic problems. Today he is working a problem like this: Find three positive int... 阅读全文
posted @ 2012-10-22 16:14 江财小子 阅读(325) 评论(0) 推荐(0) 编辑

POJ Longge's problem 2480

摘要: Longge's problemTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 5880Accepted: 1862DescriptionLongge is good at mathematics and he likes to think about hard mathematical problems which will be solved by some graceful algorithms. Now a problem comes: Given an integer N(1 #include #include 阅读全文
posted @ 2012-10-22 16:08 江财小子 阅读(347) 评论(0) 推荐(1) 编辑

xmu 1254.异或求和

摘要: 1254.异或求和 Time Limit: 1000 MS Memory Limit: 65536 K Total Submissions: 52 (19 users) Accepted: 13 (7 users) Description给你2个区间[A,B]和[C,D],现在只要求你求出区间[A,B]和[C,D]内任意2个整数异或后的和,因为答案可能会很大,你只需将结果%mod即可。For(i:A→B) For(j:C→D) Sum += (i^j);Input输入第一行为T(T=2^(k-1) 的 x 第k位就是1这样只要求出 x某个范围 ,其它就是它的等价类了这... 阅读全文
posted @ 2012-10-22 15:35 江财小子 阅读(1835) 评论(0) 推荐(0) 编辑

hdu 1452 Happy 2004

摘要: Happy 2004Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 673Accepted Submission(s): 481Problem DescriptionConsider a positive integer X,and let S be the sum of all positive integer divisors of 2004^X. Your job is to determine S modulo 29 (the rest 阅读全文
posted @ 2012-10-22 15:19 江财小子 阅读(1063) 评论(1) 推荐(0) 编辑

hdu 1116 Play on Words

摘要: Play on WordsTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3149Accepted Submission(s): 1002Problem DescriptionSome of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Because 阅读全文
posted @ 2012-10-21 00:04 江财小子 阅读(216) 评论(0) 推荐(0) 编辑

HDU 1492 The number of divisors(约数) about Humble Numbers

摘要: The number of divisors(约数) about Humble NumbersTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1741Accepted Submission(s): 852Problem DescriptionA number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 阅读全文
posted @ 2012-10-20 17:08 江财小子 阅读(410) 评论(0) 推荐(0) 编辑

HDU 3501 Calculation 2

摘要: Calculation 2Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1296Accepted Submission(s): 544Problem DescriptionGiven a positive integer N, your task is to calculate the sum of the positive integers less than N which are not coprime to N. A is said 阅读全文
posted @ 2012-10-20 16:22 江财小子 阅读(267) 评论(0) 推荐(0) 编辑

Hdu 4407 Sum

摘要: SumTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 897Accepted Submission(s): 259Problem DescriptionXXX is puzzled with the question below: 1, 2, 3, ..., n (1#include #include #include #include #include #include using namespace std;bool h[700];int 阅读全文
posted @ 2012-10-19 18:47 江财小子 阅读(334) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 41 下一页