cf练习
文章平均质量分 67
记录一些思维
mingyu19
这个作者很懒,什么都没留下…
展开
-
2023牛客寒假算法基础集训营2
2023牛客寒假算法基础集训营2原创 2023-02-24 17:07:36 · 504 阅读 · 0 评论 -
【0425 dp训练】
方块与收纳盒舔狗舔到最后一无所有可爱の星空 方块与收纳盒方块与收纳盒典型斐波那契数列 跟上楼梯, 爬蜂房一个性质, 走迷宫, 路径统计一个性质#include <bits/stdc++.h>#define int long longusing namespace std;const int N = 100;int f[N];void run(){ int n; cin >> n; for(int i = 1; i<= n; i +.原创 2022-04-26 00:02:02 · 196 阅读 · 0 评论 -
【cf每日一题(0410-0417)】
vector的用法原创 2022-04-13 00:58:48 · 209 阅读 · 0 评论 -
Codeforces每日一题
0331确实想了一段时间, 但是推导不出来数学证明, 只能找规律#include <iostream>using namespace std;int main(){ int T; cin >> T; while(T -- ) { int a, b, c, d; cin >>a >>b >> c >>d; co原创 2022-04-01 21:35:33 · 460 阅读 · 0 评论 -
【2020.03.17第一次集训】
C. Omkar and Baseball对于所有情况:本身就已经还原 res = 0;未还原的序列: 存在有在原来位置的点, 需打乱, 在还原 res = 1 + 1 = 2未还原的序列: 不存在有在原来位置的点,直接还原 res = 1原创 2022-03-24 14:43:42 · 51 阅读 · 0 评论 -
【CodeTON Round 1 (Div. 1 + Div. 2, Rated, Prizes】
CodeTON Round 1 (Div. 1 + Div. 2, Rated, Prizes!)第一题都没过, 分好低儿, emo~~~不过也发现了一点点找规律的技巧A. Good Pairs#include <iostream>#include <cstring>#include <algorithm>using namespace std;const int N = 1e5 + 10;int n;typedef pair<in原创 2022-03-25 16:48:25 · 667 阅读 · 0 评论