摘要:
__ "Educational Codeforces Round 75 (Rated for Div. 2)" __ __ "A. Broken Keyboard" __ __思路:最开始没搞清楚题意瞎搞 只需要判断前后两连续字符是否相同 不同则将前一个存入vector中 排序去个重输出即可__ A 阅读全文
摘要:
__ "Codeforces Global Round 5" __ __ "A. Balanced Rating Changes" __ __思路:$n$为偶数 则这n个数里面奇数的个数一定为偶数 那么就每次令一个答案为$\frac{a_i}{2} 1$ 另一个答案为$\frac{a_i}{2} + 阅读全文
摘要:
__ "Codeforces Round 596 (Div. 2, based on Technocup 2020 Elimination Round 2)" __ __ "A. Forgetting Things" __ __思路:$a$和$b$相等或者$a + 1 = b$或者$a = 9$ $ 阅读全文