10 2019 档案
摘要:__ "Educational Codeforces Round 74 (Rated for Div. 2)" __ __ "A. Prime Subtraction" __ __思路:任何大于等于二的数都可以由二和三构成__ AC代码 cpp include include include inc
        阅读全文
                
摘要:__ "Codeforces Round 591 (Div. 2, based on Technocup 2020 Elimination Round 1)" __ __ "A. CME" __ __思路:n为偶数答案为0 n为奇数答案为1 特判下n为2时答案为2__ AC代码 cpp includ
        阅读全文
                
摘要:__ "AtCoder Beginner Contest 144" __ __ "A 9x9" __ __思路:水题__ AC代码 __ "E Gluttony" __ __思路:二分 上界为最大的最小$a$$ $最大$f$__ AC代码 cpp include include include in
        阅读全文
                
摘要:__ "Codeforces Round 592 (Div. 2)" __ __ "A. Pens and Pencils" __ __思路:水题__ AC代码 cpp include include include include include include include include i
        阅读全文
                
摘要:__ "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$ $
        阅读全文
                
摘要:__ "Codeforces Round 595 (Div. 3)" __ __ "A. Yet Another Dividing into Teams" __ __思路:排序后找是否有两个相邻的数差值为1即可__ AC代码 cpp include include include include i
        阅读全文
                
摘要:__ "D1. The World Is Just a Programming Task (Easy Version)" __ __思路:当时读错题了 没理解到题意 在那一直瞎写 暴力随便搞搞过了__ AC代码 cpp include include include include include 
        阅读全文
                
摘要:__ "Codeforces Round 593 (Div. 2)" __ __ "A. Stones" __ __思路:水题 先取第一堆中的每一个和先取第二堆中的每一个进行比较就行了__ AC代码
        阅读全文
                
摘要:__ "Codeforces Round 594 (Div. 2)" __ __ "A. Integer Points" __ __题意:给出若干个$y = x + p$ 和 $y = x + q$ 求它们交点坐标为整数的个数__ __思路:$y = x + p$ 与 $y = x + q$ 的交点
        阅读全文
                

浙公网安备 33010602011771号