codeforces
文章平均质量分 87
24kHT
各自安好。
展开
-
C. A-B Palindrome
C. A-B PalindromeYou are given a string s consisting of the characters ‘0’, ‘1’, and ‘?’. You need to replace all the characters with ‘?’ in the string s by ‘0’ or ‘1’ so that the string becomes a palindrome and has exactly a characters ‘0’ and exactly b原创 2021-07-14 16:51:37 · 288 阅读 · 1 评论 -
C.Dominant Piranha--(div.3)
There are n piranhas with sizes a1,a2,…,an in the aquarium. Piranhas are numbered from left to right in order they live in the aquarium.Scientists of the Berland State University want to find if there is dominant piranha in the aquarium. The piranha is ca原创 2020-11-22 21:36:29 · 248 阅读 · 0 评论