上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 171 下一页
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; const int N = 1010; struct node { int id;//学号 double sc1, sc2;//学业成绩和素质拓展成绩 int score;//学业成绩和素质拓展成 阅读全文
posted @ 2021-11-19 09:26 糖豆爸爸 阅读(402) 评论(0) 推荐(0)
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; const int N = 1100; struct Student { string name; int x; int y; int z; int sum; } a[N]; int n; voi 阅读全文
posted @ 2021-11-19 09:25 糖豆爸爸 阅读(361) 评论(0) 推荐(0)
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; struct Student { string Name; int chinese; int math; int english; } a, ans; int main() { int n; ci 阅读全文
posted @ 2021-11-19 09:22 糖豆爸爸 阅读(164) 评论(0) 推荐(0)
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; const int N = 1100; int a[N][N]; /**递归经典题 1、默认二维数组全是0,可以理解为默认都被赦免,如果找到不被赦免的,需要标识为1. 2、看到2^n之类的题,一般 阅读全文
posted @ 2021-11-19 09:16 糖豆爸爸 阅读(134) 评论(0) 推荐(0)
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; int f(int n) { if (n == 1) return 1; return n * f(n - 1); } int main() { int n; cin >> n; cout << 阅读全文
posted @ 2021-11-19 09:03 糖豆爸爸 阅读(85) 评论(0) 推荐(0)
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; const int N = 110; int n, m; int a[N]; double Max = -1; int main() { cin >> n >> m; for (int i = 1 阅读全文
posted @ 2021-11-19 09:02 糖豆爸爸 阅读(121) 评论(0) 推荐(0)
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; //是不是闰年 bool isRunYear(int y) { if ((y % 4 == 0 && y % 100 != 0) || y % 400 == 0) return true; ret 阅读全文
posted @ 2021-11-19 09:00 糖豆爸爸 阅读(70) 评论(0) 推荐(0)
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; const int N = 110; int a[N]; bool isPrime(int n) { if (n < 2) return false; for (int i = 2; i <= n 阅读全文
posted @ 2021-11-19 08:58 糖豆爸爸 阅读(64) 评论(0) 推荐(0)
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; double dis(double x1, double y1, double x2, double y2) { return sqrt((x2 - x1) * (x2 - x1) + (y2 - 阅读全文
posted @ 2021-11-19 08:56 糖豆爸爸 阅读(208) 评论(0) 推荐(0)
摘要: 题目传送门 #include <bits/stdc++.h> using namespace std; int n = 4; string s; unordered_map<char, int> _map; int main() { //读入并记录 while (n--) { getline(cin 阅读全文
posted @ 2021-11-18 11:02 糖豆爸爸 阅读(89) 评论(0) 推荐(0)
上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 171 下一页
Live2D