博客专栏  >  编程语言   >  刷完codeforces

刷完codeforces

一个特别喜欢codeforces的ACM选手

关注
2 已关注
17篇博文
  • Codeforces Round #460 (Div. 2) D Substring《拓扑排序+DP

    题目链接 题意:n个点,m条边形成一个有向图,n个字母(可能相同)分别代表n个点。 如果有环,输出-1,否则找出一条最长边,最长边的定义是一条路上相同的字母最多的。 拓扑排序+DP 实在是想不...

    2018-02-01 15:24
    76
  • Codeforces Round #460 (Div. 2) C Seat Arrangements

    题目链接 1.特判k=1的情况 2.不能直接暴力,如果k太大,会变成n^3,前缀搞一下。 #include using namespace std; const int maxn=2005;...

    2018-02-01 15:15
    76
  • Codeforces Round #415 (Div. 2)

    A. Straight «A» time limit per test1 second memory limit per test256 megabytes inputstandard inpu...

    2018-01-16 21:14
    108
  • Codeforces Round #416 (Div. 2) A

    A. Vladik and Courtesy time limit per test2 seconds memory limit per test256 megabytes inputstand...

    2018-01-16 21:12
    36
  • Codeforces Round #417 (Div. 2) A

    A. Sagheer and Crossroads time limit per test1 second memory limit per test256 megabytes inputsta...

    2018-01-16 21:11
    34
  • Codeforces Round #419 (Div. 2) A

    A. Karen and Morning time limit per test2 seconds memory limit per test512 megabytes inputstandar...

    2018-01-16 21:09
    43
  • Codeforces Round #420 (Div. 2) A

    A. Okabe and Future Gadget Laboratory time limit per test2 seconds memory limit per test256 megaby...

    2018-01-16 21:08
    37
  • Codeforces Round #421 (Div. 2) A

    A. Mister B and Book Reading time limit per test2 seconds memory limit per test256 megabytes inpu...

    2018-01-16 21:06
    35
  • Educational Codeforces Round 21 A

    A. Lucky Year time limit per test1 second memory limit per test256 megabytes inputstandard input ...

    2018-01-15 21:24
    43
  • Codeforces Round #413, rated, Div. 1 + Div. 2 A

    A. Carrot Cakes time limit per test1 second memory limit per test256 megabytes inputstandard inpu...

    2018-01-15 20:30
    28
  • Codeforces Round #455 (Div. 2)

    A. Generate Login time limit per test2 seconds memory limit per test256 megabytes inputstandard i...

    2018-01-11 21:19
    54
  • Educational Codeforces Round 35 (Rated for Div. 2) A

    A. Nearest Minimums time limit per test2 seconds memory limit per test256 megabytes inputstandard...

    2018-01-11 21:13
    94
  • Hello 2018 B

    题目:http://codeforces.com/contest/913/problem/B 一开始读错题了,以为必需是==3,其实是>=3。 然后发现忘了标记根节点。 然后发现a数组标记取消是...

    2018-01-09 10:58
    68
  • Hello 2018 A

    A. Modular Exponentiation time limit per test1 second memory limit per test256 megabytes inputsta...

    2018-01-09 10:48
    69
  • Codeforces Round #456 (Div. 2)

    B. New Year’s Eve time limit per test1 second memory limit per test256 megabytes inputstandard in...

    2018-01-07 21:11
    82
  • Codeforces Round #456 (Div. 2)

    A. Tricky Alchemy time limit per test1 second memory limit per test256 megabytes inputstandard in...

    2018-01-07 20:37
    98
  • cf 410

    A. Mike and palindrome time limit per test2 seconds memory limit per test256 megabytes inputstand...

    2017-04-29 17:06
    255
img博客搬家
img撰写博客
img发布 Chat
img专家申请
img意见反馈
img返回顶部