摘要: Educational Codeforces Round 21 https://codeforces.com/contest/808 苯比只会ABC,呜呜, A. Lucky Year 被pow()坑了 #include <bits/stdc++.h> #define ll long long us 阅读全文
posted @ 2023-02-22 21:34 Sakana~ 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Educational Codeforces Round 20 昨天写的 https://codeforces.com/contest/803 笨比只会AB CD 其实都是很基础的题目,但是我脑瘫,总是一堆问题。 C是不停的溢出,ll也不够,这涨了个经验就是,比较不等式的时候尽量用除,减少溢出的可能 阅读全文
posted @ 2023-02-22 21:33 Sakana~ 阅读(11) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 138 https://atcoder.jp/contests/abc138 今天做的,f非常有意思,状态设计很巧妙,是限定范围内的数位dp;e还不知道为什么错,感觉思路没问题。 A - Red or Not #include <bits/stdc+ 阅读全文
posted @ 2023-02-22 21:31 Sakana~ 阅读(28) 评论(0) 推荐(0) 编辑
摘要: AtCoder Beginner Contest 137 昨天还是前天写的,忘了,今天补一下 https://atcoder.jp/contests/abc137 A - +-x #include <bits/stdc++.h> using namespace std; int main () { 阅读全文
posted @ 2023-02-22 21:24 Sakana~ 阅读(17) 评论(0) 推荐(0) 编辑