摘要: 23 暑假友谊赛 No.4(UKIEPC 2017) Problem A Alien Sunset hh,开始一眼差分,但是写寄了qwq,后来换枚举过了(Orz,但是看学长差分是能做的,我就说嘛,差分肯定能做( 说下枚举思路吧,就是把每个区间都存起来,选出自转周期的最大值为\(ma\),然后去枚举\ 阅读全文
posted @ 2023-08-10 16:02 Ke_scholar 阅读(8) 评论(0) 推荐(0) 编辑
摘要: SMU Summer 2023 Contest Round 11(2022-2023 ACM-ICPC Nordic Collegiate Programming Contest (NCPC 2022)) A. Ace Arbiter 用\(A\)和\(B\)代表\(Alice\)和\(Bob\), 阅读全文
posted @ 2023-08-10 14:38 Ke_scholar 阅读(33) 评论(0) 推荐(0) 编辑
摘要: # [SMU Summer 2023 Contest Round 10](https://codeforces.com/group/L9GOcnr1dm/contest/466403)(ICPC — International Collegiate Programming Contest Asia 阅读全文
posted @ 2023-08-10 10:47 Ke_scholar 阅读(4) 评论(0) 推荐(0) 编辑
摘要: # [第 357 场周赛 - 力扣(LeetCode)](https://leetcode.cn/contest/weekly-contest-357/) ## [2810. 故障键盘 - 力扣(LeetCode)](https://leetcode.cn/problems/faulty-keybo 阅读全文
posted @ 2023-08-08 22:51 Ke_scholar 阅读(19) 评论(0) 推荐(0) 编辑
摘要: # 牛客周赛 Round 6 ## [A-游游的数字圈_牛客周赛 Round 6 (nowcoder.com)](https://ac.nowcoder.com/acm/contest/62622/A) **枚举即可** ```c++ #include #define int long long u 阅读全文
posted @ 2023-08-07 20:09 Ke_scholar 阅读(26) 评论(0) 推荐(0) 编辑
摘要: # [AtCoder Beginner Contest 313 - AtCoder](https://atcoder.jp/contests/abc313) ## [A - To Be Saikyo (atcoder.jp)](https://atcoder.jp/contests/abc313/t 阅读全文
posted @ 2023-08-07 18:55 Ke_scholar 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 23 暑假友谊赛 No.3 Problem - B - Codeforces 贪心吧,每次看哪块瓷砖划算就尽量多的放哪块 #include <bits/stdc++.h> #define int long long using namespace std; typedef pair<int,int> 阅读全文
posted @ 2023-08-03 19:58 Ke_scholar 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 2019 山东省大学生程序设计竞赛 A. Calandar 纯模拟吧(感觉我做麻烦了(?), 就是如果问的是未来的日期,就用相隔天数取模后加上这天的星期, 如果问的是曾经的,就用这天的星期减去相隔天数的取模后的数,因为是减法,记得加模数 #include <bits/stdc++.h> #defin 阅读全文
posted @ 2023-08-03 18:55 Ke_scholar 阅读(13) 评论(0) 推荐(0) 编辑
摘要: # [SMU Summer 2023 Contest Round 8](https://codeforces.com/group/L9GOcnr1dm/contest/464880)(2019 陕西省大学生程序设计竞赛) ## B - Grid with Arrows(欧拉图) 题意:一个总规模为$ 阅读全文
posted @ 2023-08-03 14:18 Ke_scholar 阅读(103) 评论(0) 推荐(0) 编辑
摘要: # [牛客周赛 Round 5](https://ac.nowcoder.com/acm/contest/62033) ## [A-游游的字母变换_牛客周赛 Round 5 (nowcoder.com)](https://ac.nowcoder.com/acm/contest/62033/A) `` 阅读全文
posted @ 2023-08-02 11:02 Ke_scholar 阅读(31) 评论(0) 推荐(0) 编辑