D--String Deletion(双指针+贪心)
D–String Deletion(双指针+贪心)
Codeforces Educational Round 96 D题
经典的双指针加贪心法
题面
D. String Deletion
You have a string s consisting of n characters. Each character is either 0 or 1.
You can perform operations on the string. Each operation consists of two steps:
原创
2020-10-16 16:20:31 ·
395 阅读 ·
1 评论