葫噜鱼
葫噜鱼
全部文章
分类
题解(5)
归档
标签
去牛客网
登录
/
注册
葫噜鱼的博客
全部文章
(共5篇)
题解 | #[CSP2021]小熊的果篮(fruit)#
#include <bits/stdc++.h> using namespace std; struct block{ int v; //值 int s; //开始位置 int e; //结束位置 }; queue&l...
C++
队列
2022-08-18
5
411
题解 | #[CSP2019]公交换乘#链表解法
#include <bits/stdc++.h> using namespace std; struct go_log{ int tool; int price; int time; go_log* next; }; int main(){ ...
链表
2022-08-01
0
388
题解 | #[CSP2019]公交换乘#环形数组解法
#include <bits/stdc++.h> using namespace std; struct go_log{ int tool; int price; int time; }; int main(){ int n = 0; cin ...
C++
数组
2022-08-01
0
333
题解 | #反向输出一个四位数#
int main() { int a[4]; scanf("%1d%1d%1d%1d", &a[0],&a[1],&a[2],&a[3]); printf("%1d%1d%1d%1d", a[3], a[2], a[1], a[0]); ...
2022-07-25
0
230
题解 | #使徒袭来#
#include <bits/stdc++.h> using namespace std; float f(float(*fx)(float), float y, float jd){ float left = 0; float right = y; floa...
2022-07-25
0
307