摘要: B. Vladik and Complicated Book time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Vladik 阅读全文
posted @ 2017-06-01 01:37 ZERO- 阅读(310) 评论(0) 推荐(0)
摘要: A. Vladik and Courtesy time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Vladik and Cou 阅读全文
posted @ 2017-06-01 01:34 ZERO- 阅读(362) 评论(0) 推荐(0)
摘要: A Serial Killer time limit per test 2 seconds time limit per test memory limit per test 256 megabytes memory limit per test input standard input input 阅读全文
posted @ 2017-05-22 20:54 ZERO- 阅读(419) 评论(0) 推荐(0)
摘要: 模运算与基本四则运算有些相似,但是除法例外。其规则如下: (a + b) % p = (a % p + b % p) % p (a - b) % p = (a % p - b % p) % p (a * b) % p = (a % p * b % p) % p a ^ b % p = ((a % p 阅读全文
posted @ 2017-05-22 20:43 ZERO- 阅读(1682) 评论(0) 推荐(0)
摘要: C. Do you want a date? time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit per te 阅读全文
posted @ 2017-05-22 20:34 ZERO- 阅读(177) 评论(0) 推荐(0)
摘要: B. Summer sell-off time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Summer sell-off tim 阅读全文
posted @ 2017-05-22 20:32 ZERO- 阅读(366) 评论(0) 推荐(0)
摘要: A. Straight «A» time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Straight «A» time limi 阅读全文
posted @ 2017-05-22 20:29 ZERO- 阅读(556) 评论(0) 推荐(0)
摘要: 最近从博客上看到了一个fmod函数,结果又蹦出来一个modf函数 fmod()函数: 头文件:#include<math.h> C库函数。。。 fmod()用来对浮点数进行取模(求余),原型为:float fmod(float x)。 设x=k*n+h,则返回值为h(h和x的符号相同)。 fmod( 阅读全文
posted @ 2017-05-14 19:49 ZERO- 阅读(28097) 评论(2) 推荐(3)
摘要: A. Vicious Keyboard time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Vicious Keyboard 阅读全文
posted @ 2017-05-05 23:32 ZERO- 阅读(564) 评论(9) 推荐(0)
摘要: A. The New Year: Meeting Friends time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. The N 阅读全文
posted @ 2017-05-01 18:06 ZERO- 阅读(307) 评论(0) 推荐(0)