
贪心
学好DP才有CP
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C - Serval and Parenthesis Sequence CodeForces - 1153C
C - Serval and Parenthesis Sequence CodeForces - 1153C 题目大意: 输入一段含有’(’,’)’,‘?’,组成的·字符串,求是否能把字符串中的’?’,替换为’(’,’)‘之一,使得最后字符串满足前缀不为正确的括号序列,但最后字符串为正确的符号序列。不能满足则输出‘:(’。 阅读理解题吧,我一直没有理解什么是严格前缀,导致最后没有做出来。理解了题意...原创 2019-11-22 17:19:44 · 218 阅读 · 0 评论 -
Y2K Accounting Bug POJ - 2586(贪心)
Y2K Accounting Bug POJ - 2586(贪心) 题目 参考博客:https://blog.youkuaiyun.com/lyy289065406/article/details/6642603#commentBox Accounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vi...原创 2019-11-11 22:00:19 · 252 阅读 · 0 评论