摘要: D. White Lines 传送门 time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input output standard output Gildong has bought 阅读全文
posted @ 2019-08-12 14:12 GeraldG 阅读(278) 评论(0) 推荐(0) 编辑
摘要: Welfare State time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There is a country with n  阅读全文
posted @ 2019-08-01 10:04 GeraldG 阅读(192) 评论(0) 推荐(0) 编辑
摘要: C. MP3 原题地址 time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. MP3 原题地址 time limit per te 阅读全文
posted @ 2019-07-31 11:09 GeraldG 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Fib数模n的循环节 对于一个正整数n,我们求Fib数模n的循环节的长度的方法如下: (1)把n素因子分解,即 (2)分别计算Fib数模每个的循环节长度,假设长度分别是 (3)那么Fib模n的循环节长度 从上面三个步骤看来,貌似最困难的是第二步,那么我们如何求Fib模的循环节长度呢? 这里有一个优美 阅读全文
posted @ 2019-07-27 11:35 GeraldG 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Josephina and RPG ZOJ - 3735 A role-playing game (RPG and sometimes roleplaying game) is a game in which players assume the roles of characters in a f 阅读全文
posted @ 2019-07-26 22:45 GeraldG 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Maxim and Array Recently Maxim has found an array of n integers, needed by no one. He immediately come up with idea of changing it: he invented positi 阅读全文
posted @ 2019-07-26 00:21 GeraldG 阅读(177) 评论(0) 推荐(0) 编辑
摘要: D2. RGB Substring (hard version) 原题传送门 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D 阅读全文
posted @ 2019-07-26 00:20 GeraldG 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 我开通了我的博客,欢迎访问 阅读全文
posted @ 2019-07-23 18:13 GeraldG 阅读(118) 评论(0) 推荐(0) 编辑