
训练总结
思维在奔跑
这个作者很懒,什么都没留下…
展开
-
7月9日训练
2019CCPC湖南全国邀请赛(广东省赛、江苏省赛) E.Hello XTCPC Problem Description You have a string of lowercase letters.You need to find as many sequence “xtCpc” as possible.But letters in the same position can only be used once。 Input The input file contains two lines. The f原创 2020-07-10 08:18:08 · 254 阅读 · 0 评论 -
7月8日训练总结
双指针算法 牛客上遇到一个问题,可以用尺取+离散化做,但是尺取本质上也是双指针算法,所以复习一下双指针算法 题目描述 Farmer John’s N cows (1 <= N <= 100,000) are lined up in a row. Each cow is identified by an integer “breed ID” in the range 0…1,000,000,000; the breed ID of the ith cow in the lineup is B(i)原创 2020-07-08 23:30:31 · 193 阅读 · 0 评论