摘要:
#include<bits/stdc++.h> using namespace std; struct node{ int yw,sx,yy,zf,id; //yw语文、sx数学、yy英语、zf总分、id顺序 }; node a[301]; bool comp(node a,node b) { // 阅读全文
posted @ 2024-06-28 17:28
CRt0729
阅读(59)
评论(0)
推荐(0)
摘要:
#include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-06-28 17:27
CRt0729
阅读(59)
评论(0)
推荐(0)
摘要:
#include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-06-28 17:26
CRt0729
阅读(123)
评论(0)
推荐(0)
摘要:
这里的基础语法的课程大纲及对应的题单题解,有链接就是我发了,没有了就是我懒了^^,欢迎催更 课程名称 题解链接 初识C++ 顺序结构 选择结构 循环结构 嵌套循环 一维数组 二维数组 字符数组 字符串 函数 结构体排序 https://www.cnblogs.com/jyssh/p/18274023 阅读全文
posted @ 2024-06-28 17:19
CRt0729
阅读(53)
评论(0)
推荐(0)
摘要:
这里是各个算法的超链接,有就有,没有就是笔者懒了,欢迎催更^^ 时间复杂度 枚举 https://www.cnblogs.com/jyssh/p/18273285 模拟 贪心 递推 递归 二分 数据结构 - 栈 数据结构 - 队列 数据结构 - 图 数据结构 - 树 高级算法 - 深度优先搜索 高级 阅读全文
posted @ 2024-06-28 15:56
CRt0729
阅读(42)
评论(0)
推荐(0)
摘要:
因为它,我学会了sscanf ^^ #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e3+10,inf = 0x3f3f3f3f; map<string,int> p; int n; 阅读全文
posted @ 2024-06-28 15:15
CRt0729
阅读(46)
评论(0)
推荐(0)
摘要:
NB,标签大王 也可以知道,就是队列模拟了 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 3e5+10; struct node{ int t,x; }; queue<node>q; 阅读全文
posted @ 2024-06-28 15:14
CRt0729
阅读(26)
评论(0)
推荐(0)
摘要:
解法一:我也不记得怎么做了,就记得好像是不断拼接字符串,然后用map做判断去重 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e3+10,inf = 0x3f3f3f3f; int 阅读全文
posted @ 2024-06-28 15:12
CRt0729
阅读(103)
评论(0)
推荐(0)
摘要:
转自:lugo的题解,注释比较多,还算是比较清晰 #include<iostream> #include<cstring> #include<algorithm> #include<cmath> using namespace std; int x11,y11,x22,y22,minn=400001 阅读全文
posted @ 2024-06-28 15:09
CRt0729
阅读(84)
评论(0)
推荐(0)
摘要:
#include<bits/stdc++.h> #define f(i,s,e) for(int i=s;i<=e;i++) using namespace std; typedef long long ll; const int N=1e6+10,inf=0x3f3f3f3f; int a[N], 阅读全文
posted @ 2024-06-28 15:08
CRt0729
阅读(120)
评论(0)
推荐(0)

浙公网安备 33010602011771号