帅的一天被人砍三回
帅的一天被人砍三回
全部文章
分类
归档
标签
去牛客网
登录
/
注册
帅的一天被人砍三回的博客
全部文章
(共37篇)
题解 | 继续畅通工程
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <vector> #include <algorithm> using namespace std; struct myType { i...
2025-03-13
0
48
题解 | 还是畅通工程
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <vector> #include <algorithm> using namespace std; struct myType { i...
2025-03-13
0
45
题解 | 第一题
#include <stdio.h> #include <vector> using namespace std; int father[1000000]; void InitT(){ for(int i=0;i<1000000;++i){ fa...
2025-03-12
0
35
题解 | 连通图
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <vector> using namespace std; int father[1000]; void InitT(int n) { for (i...
2025-03-12
0
33
题解 | 畅通工程
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <vector> using namespace std; int father[1000]; void Initit(int n) { for (...
2025-03-11
0
47
题解 | 搬水果
#include <queue> #include <stdio.h> #include <string> using namespace std; int main(){ int n; int num; while(scanf("...
2025-03-10
0
37
题解 | 哈夫曼树
#include <stdio.h> #include <string> #include <queue> using namespace std; int main() { priority_queue<int> pqueue;//存储权值的...
2025-03-10
0
28
题解 | Fibonacci
#include <stdio.h> using namespace std; int fab(int n){ if(n==0){return 0;} else if(n==1){return 1;} else{return fab(n-1)+fab(n-2);}...
2025-03-08
0
57
题解 | 堆栈的使用
#define _CRT_SECURE_NO_WARNINGS #include <string> #include <stdio.h> #include <stack> using namespace std; int main() { string s...
2025-03-07
0
43
题解 | 首字母大写
#include <stdio.h> #include <string> #include <vector> using namespace std; int main() { vector<int> pos; char arr[10...
2025-03-06
0
50
首页
上一页
1
2
3
4
下一页
末页