随笔分类 - Codeforce
摘要:E. Okabe and El Psy Kongroo time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Okabe and
阅读全文
摘要:A. Fraction 暴力遍历1-1000,取组成的真分数比值最大且分子分母gcd为1时更新答案 代码: B. Maxim Buys an Apartment 最好的情况是尽量放中间,每一个房子都可以造成两个good位置,这样一共有n/3个位置,如果k<=n/3则答案就是k*3,否则把剩余的位置先
阅读全文
摘要:D. Monitor time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Monitor time limit per tes
阅读全文
摘要:D. Legacy time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Legacy time limit per test
阅读全文
摘要:E. Compatible Numbers time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output E. Compatible Numb
阅读全文
摘要:D. Robin Hood time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output D. Robin Hood time limit pe
阅读全文
摘要:E. Army Creation time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Army Creation time l
阅读全文
摘要:D. Anton and School - 2 time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Anton and Sch
阅读全文
摘要:D. String Game time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output D. String Game time limit
阅读全文
摘要:D. Vasiliy's Multiset time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Author has gone ou
阅读全文
摘要:D. Lakes in Berland time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Lakes in Berland
阅读全文
摘要:E. XOR and Favorite Number time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output E. XOR and Fa
阅读全文
摘要:B. Bakery time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Masha wants to open her own ba
阅读全文
摘要:D. Powerful array time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output An array of positive i
阅读全文
摘要:E. Correct Bracket Sequence Editor time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Co
阅读全文
摘要:C. Cellular Network time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output You are given n poin
阅读全文
摘要:C. Vasya and String time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Vasya and String t
阅读全文
摘要:B. Mike and Shortcuts time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output B. Mike and Shortc
阅读全文
摘要:C. NP-Hard Problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. NP-Hard Problem ti
阅读全文
摘要:C. Alyona and the Tree time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Alyona and the
阅读全文

浙公网安备 33010602011771号