摘要: 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- 阅读(394) 评论(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- 阅读(1636) 评论(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- 阅读(154) 评论(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- 阅读(337) 评论(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- 阅读(523) 评论(0) 推荐(0) 编辑