随笔分类 - 数学类
摘要:青蛙的约会 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 126150 Accepted: 27173 Description 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上
阅读全文
摘要:I. Older Brother Your older brother is an amateur mathematician with lots of experience. However, his memory is very bad. He recently got interested i
阅读全文
摘要:B-Coin Bob has a not even coin, every time he tosses the coin, the probability that the coin's front face up is \frac{q}{p}(\frac{q}{p} \le \frac{1}{2
阅读全文
摘要:number number number Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 118 Accepted Submission(s):
阅读全文
摘要:A * B Problem Plus Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22082 Accepted Submission(s):
阅读全文
摘要:Prime Test Time Limit: 6000MS Memory Limit: 65536K Total Submissions: 35528 Accepted: 9479 Case Time Limit: 4000MS Description Given a big integer num
阅读全文
摘要:Rank Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 433 Accepted Submission(s): 207 Problem Desc
阅读全文
摘要:Examining the Rooms Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1661 Accepted Submission(s):
阅读全文
摘要:Kind of a Blur Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2754 Accepted Submission(s): 751 P
阅读全文
摘要:So Easy! Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4673 Accepted Submission(s): 1539 Proble
阅读全文
摘要:Algebraic Problem Given the value of a+b and ab you will have to find the value of an+bn. a and bnot necessarily have to be real numbers. Input Input
阅读全文
摘要:Visible Lattice Points Consider a N*N*N lattice. One corner is at (0,0,0) and the opposite one is at (N,N,N). How many lattice points are visible from
阅读全文
摘要:Visible Lattice Points Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7450 Accepted: 4536 Description A lattice point (x, y) in the first
阅读全文
摘要:Primitive Roots Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 4505 Accepted: 2652 Description We say that integer x, 0 < x < p, is a prim
阅读全文
摘要:Farey Sequence Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16927 Accepted: 6764 Description The Farey Sequence Fn for any integer n wit
阅读全文
摘要:上帝与集合的正确用法 上帝与集合的正确用法 根据一些书上的记载,上帝的一次失败的创世经历是这样的: 第一天, 上帝创造了一个世界的基本元素,称做“元”。 第二天, 上帝创造了一个新的元素,称作“α”。“α”被定义为“元”构成的集合。容易发现,一共有两种不同的“α”。 第三天, 上帝又创造了一个新的元
阅读全文
摘要:Problem 1759 Super A^B mod C Accept: 1056 Submit: 3444Time Limit: 1000 mSec Memory Limit : 32768 KB Accept: 1056 Submit: 3444Time Limit: 1000 mSec Mem
阅读全文
摘要:Sum Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 3245 Accepted Submission(s): 1332 Problem D
阅读全文
摘要:Problem D: GCD Description XiaoMingfoundthecomputetimeof XiaoMingfoundthecomputetimeof Input The first line is an positive integer T. ( The first line
阅读全文
摘要:C. Table Tennis Game 2 time limit per test:2 seconds memory limit per test:512 megabytes input:standard input output:standard output C. Table Tennis G
阅读全文