上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 27 下一页
摘要: AtCoder Beginner Contest 151 https://atcoder.jp/contests/abc151 这一套质量一般 E - Max-Min Sums 组合数学 #include <bits/stdc++.h> #define ll long long using name 阅读全文
posted @ 2023-03-31 19:27 Sakana~ 阅读(19) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 150 https://atcoder.jp/contests/abc150 def都蛮不错的 D - Semi Common Multiple 先推一下:$x=a_i\times(p+0.5)\rightarrow x=\frac{a_i}2(2p 阅读全文
posted @ 2023-03-31 15:40 Sakana~ 阅读(51) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 149 https://atcoder.jp/contests/abc149 D - Prediction and Restriction 读题的锅!!没说输了要扣分!!! 两种做法。 贪心 对于相同格子 $i,i+k,i+2k,...$ 采取赢,平 阅读全文
posted @ 2023-03-30 13:46 Sakana~ 阅读(49) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 145 https://atcoder.jp/contests/abc145 D - Knight 乍一看以为是dp,但是数据范围不允许。 仔细一看发现,两种操作的次数是固定的,可以枚举出来每种操作分别进行了多少次,如 $(1,2)$ 走了 $a$ 阅读全文
posted @ 2023-03-28 12:59 Sakana~ 阅读(37) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 148 https://atcoder.jp/contests/abc148 这场比较简单 D - Brick Break 二分 or LIS #include <bits/stdc++.h> #define ll long long using n 阅读全文
posted @ 2023-03-28 12:30 Sakana~ 阅读(20) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 147 https://atcoder.jp/contests/abc147 C - HonestOrUnkind2 推理题,爆搜。好那好难,一直不知道怎么下手 #include <bits/stdc++.h> using namespace std 阅读全文
posted @ 2023-03-27 21:41 Sakana~ 阅读(45) 评论(0) 推荐(1) 编辑
摘要: 把最近做的dp都放在这里,我dp真的是烂到极点,当然别的也做不好,什么都不会(大哭 难度乱序 https://atcoder.jp/contests/abc145/tasks/abc145_f 很多细节 https://atcoder.jp/contests/abc147/tasks/abc147_ 阅读全文
posted @ 2023-03-27 16:12 Sakana~ 阅读(27) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 146 https://atcoder.jp/contests/abc146 C - Buy an Integer 这个O(1)推式子的做法不知道为什么WA:https://atcoder.jp/contests/abc146/submissions 阅读全文
posted @ 2023-03-26 16:08 Sakana~ 阅读(34) 评论(0) 推荐(1) 编辑
摘要: AtCoder Beginner Contest 141 https://atcoder.jp/contests/abc141 D - Powerful Discount Tickets 贪心 + 堆 #include <bits/stdc++.h> #define ll long long usi 阅读全文
posted @ 2023-03-21 23:41 Sakana~ 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round 858 (Div. 2) https://codeforces.com/contest/1806 现放一下ABC,然后明天补(大概) 坐牢的时候看了一下F1,感觉应该是一个蛮有意思的题?但是我不会做。 B卡了有一阵子,C想了好久快结束了才做出了(是我很不确定的分类讨 阅读全文
posted @ 2023-03-18 23:55 Sakana~ 阅读(136) 评论(2) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 27 下一页