随笔分类 -  Codeforces

CF上分记 (其实是掉大分QAQ)
摘要: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~ 阅读(6) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 20 昨天写的 https://codeforces.com/contest/803 笨比只会AB CD 其实都是很基础的题目,但是我脑瘫,总是一堆问题。 C是不停的溢出,ll也不够,这涨了个经验就是,比较不等式的时候尽量用除,减少溢出的可能 阅读全文
posted @ 2023-02-22 21:33 Sakana~ 阅读(13) 评论(0) 推荐(0) 编辑
摘要:Codeforces Round #847 (Div. 3) A - G https://codeforces.com/contest/1790 (5/7):ABCDE,写的特别慢 我写的代码又臭又长 A. Polycarp and the Day of Pi 按题意匹配,注意不是传统的 π 阅读全文
posted @ 2023-01-28 23:46 Sakana~ 阅读(59) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 17 https://codeforces.com/contest/762 A. k-th divisor #include <bits/stdc++.h> #define ll long long using namespace std; 阅读全文
posted @ 2023-01-16 00:10 Sakana~ 阅读(28) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 16 https://codeforces.com/contest/710 4/6:ABCE A. King Moves #include <bits/stdc++.h> using namespace std; int cnt, ans; 阅读全文
posted @ 2023-01-13 11:44 Sakana~ 阅读(26) 评论(0) 推荐(0) 编辑
摘要:【Codeforces 173B】 B. Chamber of Secrets https://codeforces.com/problemset/problem/173/B 题意 + 分析 来自 OIwiki 这题主要难度就是读题...还有注意初始方向!!! 代码 01bfs // LU 阅读全文
posted @ 2023-01-11 20:51 Sakana~ 阅读(85) 评论(0) 推荐(0) 编辑
摘要:Codeforces Round #843 (Div. 2) https://codeforces.com/contest/1775 CD都不会写的垃圾罢了 A1. Gardener and the Capybaras (easy version) 暴力枚举分界点 #include <bits/st 阅读全文
posted @ 2023-01-10 23:01 Sakana~ 阅读(215) 评论(1) 推荐(0) 编辑
摘要:Educational Codeforces Round 15 https://codeforces.com/contest/702 3/6:ABC 不会小学数学,基础差前面写的慢 A. Maximum Increase #include <bits/stdc++.h> using namespac 阅读全文
posted @ 2023-01-10 22:57 Sakana~ 阅读(28) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 14 https://codeforces.com/contest/691 4/6:ABCD (C是恶心人的模拟分类讨论,写了巨久导致没时间看EF) 这场没有红题,应该是可以补完的。 A. Fashion in Berland 注意读题!!特 阅读全文
posted @ 2023-01-08 11:30 Sakana~ 阅读(39) 评论(0) 推荐(0) 编辑
摘要:Codeforces Round #839 (Div. 3) A-E https://codeforces.com/contest/1772 之前打的一场忘记记录了,题也没补,今天想起来E博弈没过补一下,FG不想看了好长qwq 做太久已经忘了,索性不写做法了( ̄_, ̄ ) A. A+B? #incl 阅读全文
posted @ 2023-01-08 11:22 Sakana~ 阅读(18) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 13 https://codeforces.com/contest/678 4/6:ABCD (1h) 前4题都很简单,E应该是个撞鸭dp但是我想不出来 A. Johny Likes Numbers #include <bits/stdc++ 阅读全文
posted @ 2023-01-07 11:45 Sakana~ 阅读(50) 评论(0) 推荐(0) 编辑
摘要:Codeforces Round #842 (Div. 2) https://codeforces.com/contest/1768 A. Greatest Convex 猜结论 #include <bits/stdc++.h> using namespace std; void solve () 阅读全文
posted @ 2023-01-06 23:23 Sakana~ 阅读(62) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 12 https://codeforces.com/contest/665 3/6:ABC A. Buses Between Cities 比较烦人的一道题,看清题目模拟 #include <bits/stdc++.h> using name 阅读全文
posted @ 2023-01-05 14:05 Sakana~ 阅读(45) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 11 https://codeforces.com/contest/660 4/6:ABCD A. Co-prime Array 1 与任何数的 gcd 都为 1,直接在不符合条件的两点间塞就可以了 #include <bits/ 阅读全文
posted @ 2023-01-04 18:32 Sakana~ 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Hello 2023 A-D https://codeforces.com/contest/1779 后面的还没看。感觉晚上脑子不好用了qwq A. Hall of Fame LR->RL,修改一个即可覆盖全部 #include <bits/stdc++.h> using namespace std 阅读全文
posted @ 2023-01-04 11:53 Sakana~ 阅读(52) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 9 https://codeforces.com/contest/632 3/6: ABC A. Grandma Laura and Apples 模拟 #include <bits/stdc++.h> #define int long lo 阅读全文
posted @ 2023-01-02 23:22 Sakana~ 阅读(35) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 8 明天补 阅读全文
posted @ 2022-12-30 23:19 Sakana~ 阅读(9) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 7 https://codeforces.com/contest/622/problems 3/6: ABD A. Infinite Sequence 水题 #include <bits/stdc++.h> using namespace s 阅读全文
posted @ 2022-12-29 12:08 Sakana~ 阅读(18) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 3 https://codeforces.com/contest/609 3/6:ABC D赛后过了 CD题解等下写 A. USB Flash Drives 前缀和 #include <bits/stdc++.h> using namespa 阅读全文
posted @ 2022-12-18 12:26 Sakana~ 阅读(28) 评论(0) 推荐(0) 编辑
摘要:Educational Codeforces Round 2 https://codeforces.com/contest/600 3/6: ABD A. Extract Numbers 小模拟。把一个字符分成两部分输出,遇到 ';' 或 ',' 视为单词分隔符,非负整数的单词在第一行输出,单词与单 阅读全文
posted @ 2022-12-16 15:41 Sakana~ 阅读(35) 评论(1) 推荐(1) 编辑

点击右上角即可分享
微信分享提示