摘要:
ExtractStars的算法竞赛模板 v4.0 缺省部 #include <bits/stdc++.h> using namespace std; using ll = long long; using ull= unsigned long long; using ld = ld; #define 阅读全文
posted @ 2025-09-20 16:40
ExtractStars
阅读(55)
评论(0)
推荐(0)
Dashboard - Codeforces Round 1020 (Div. 3) - Codeforces A. Dr. TC 题目大意 给定一个01字符串 \(s\) ,由这个字符串生成一个字符串数组,字符串数组中第 \(i\) 个字符串即对 \(s\) 的第 \(i\) 个字符进行01翻转 阅读全文
Codeforces Round 1019 (Div. 2)个人题解(2103D ) 题目翻译 数组 \(b_1, b_2, \ldots, b_m\) 中的元素 \(b_i\) ( \(1\le i\le m\) ) 是局部最小值,如果以下条件至少有一个成立: \(2\le i\le m - 1\ 阅读全文
声明 本题解为退役蒻苟所写,不保证正确性,仅供参考。 花了大概2个半小时写完,感觉比去年省赛简单,难度大概等价于 codeforces dv4.5 吧 菜鸡不熟悉树上背包,调了一个多小时 题目旁边的是 cf 预测分 所有代码均以通过洛谷蓝桥杯同步题 A题 算一下弧长和半径即可得 1576 B题 正解 阅读全文
Codeforces Round 993 div4 个人题解(A~H) Dashboard - Codeforces Round 993 (Div. 4) - Codeforces A. Easy Problem Cube给定一个整数 \(n\)。她想知道有多少个正整数的有序对 \((a,b)\) 阅读全文
Codeforces Round 991 div3 个人题解(A~G) Dashboard - Codeforces Round 991 (Div. 3) - Codeforces A. Line Breaks 科斯佳有一个由 \(n\) 个拉丁字母组成的文字 \(s\)。他还必须在两张纸条上书写文 阅读全文
CodeTON Round 9 div 1+2 个人题解(A~E) Dashboard - CodeTON Round 9 (Div. 1 + Div. 2, Rated, Prizes!) - Codeforces 火车头 #include <bits/stdc++.h> using namesp 阅读全文
2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest 个人题解(A,B,C,G,J,K,L,N) Dashboard - 2024-2025 ICPC, NERC, Southern and Volga Russian R 阅读全文
Codeforces Round 988 div3 个人题解(A~G) Dashboard - Codeforces Round 988 (Div. 3) - Codeforces 火车头 #include <bits/stdc++.h> using namespace std; #define f 阅读全文
Codeforces Round 985 div2 个人题解(A~E) Dashboard - Codeforces Round 987 (Div. 2) - Codeforces 火车头 #include <bits/stdc++.h> using namespace std; #define f 阅读全文