摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
Fib数模n的循环节 对于一个正整数n,我们求Fib数模n的循环节的长度的方法如下: (1)把n素因子分解,即 (2)分别计算Fib数模每个的循环节长度,假设长度分别是 (3)那么Fib模n的循环节长度 从上面三个步骤看来,貌似最困难的是第二步,那么我们如何求Fib模的循环节长度呢? 这里有一个优美 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
D2. RGB Substring (hard version) 原题传送门 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D 阅读全文