随笔分类 - online judge codeforces
摘要:D. DZY Loves Modification time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output As we know, DZ
阅读全文
摘要:B. Polygons time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You've got another geometric
阅读全文
摘要:F. Auction of Services time limit per test 2.0 s memory limit per test 256 MB input standard input output standard output It is becoming more common t
阅读全文
摘要:E. Polish Fortress time limit per test 2.0 s memory limit per test 256 MB input standard input output standard output E. Polish Fortress time limit pe
阅读全文
摘要:D. Choosing Capital for Treeland time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output D. Choo
阅读全文
摘要:题目链接:http://codeforces.com/gym/100971/problem/K K. Palindromization time limit per test 2.0 s memory limit per test 256 MB input standard input output
阅读全文
摘要:E. Fox And Dinner time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Fox And Dinner time
阅读全文
摘要:D. Fedor and Essay time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output After you had helped
阅读全文
摘要:E. Pillars time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output E. Pillars time limit per test
阅读全文
摘要:F. Ant colony time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Mole is hungry again. He fo
阅读全文
摘要:题目链接:http://codeforces.com/gym/101164/attachments 题意:对于已知的 n 个二维坐标点,要求按照某种特定的连线方式将尽可能多的点连接(任意相邻的 3 个点 a , b , c ,点 c 必须在有向线段 ab 的左侧。问最多可以连多少点,并给出连线顺序。
阅读全文
摘要:题意:给你两个字符串a,b,不区分大小写,将b分成三段,重新拼接,问是否能得到A; 思路:暴力枚举两个断点,然后check的时候需要字符串hash,O(1)复杂度N*N; 题目链接:传送门
阅读全文
摘要:J. Killing everything time limit per test 4 seconds memory limit per test 64 megabytes input standard input output standard output There are many enem
阅读全文
摘要:E. Cards Sorting time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasily has a deck of car
阅读全文
摘要:D. Office Keys time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Office Keys time limit
阅读全文
摘要:E. DNA Evolution time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output Everyone knows that DNA
阅读全文
摘要:E. Minimal Labels time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given a directe
阅读全文
摘要: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
阅读全文
摘要:F. MEX Queries time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a set of in
阅读全文
摘要:E. Choosing The Commander time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Choosing Th
阅读全文