欧应万_
欧应万_
全部文章
分类
归档
标签
去牛客网
登录
/
注册
欧应万_的博客
全部文章
(共31篇)
题解 | #成绩排序#
#include <iostream> #include<algorithm>//sort函数头文件 using namespace std; struct Student {//定义student结构体 int number; int score; ...
2023-08-11
0
314
题解 | #成绩排序#
#include <iostream> #include<algorithm>//sort函数库头文件algorithm using namespace std; struct Student {//定义学生结构体 int number; int score...
2023-08-11
0
236
题解 | #排序#
#include <iostream> #include<algorithm>//含sort函数库algorithm using namespace std; int main() { int n; int arr[100]; cin>>...
2023-08-11
0
280
题解 | #xxx定律#
#include <iostream> using namespace std; int main() { int n,i; cin>>n; for(i =0;n!=1;++i){ if(n%2==0){ n=...
2023-08-05
0
223
题解 | #Grading#
#include <iostream> #include<cmath> using namespace std; bool PP(int P, int G1, int G2, int G3) { if (G1 > P|| G2 > P|| G3 > ...
2023-08-05
0
224
题解 | #手机键盘#
#include <iostream> using namespace std; int main() { int keytab[26] {1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 1, ...
2023-08-04
0
282
题解 | #剩下的树#
#include <iostream> #include<vector> using namespace std; int main() { int L, M, boxmin, boxmax,n = 1; cin >> L >> M;...
2023-08-04
0
254
题解 | #打印日期#
#include <iostream> #include <cstdio> using namespace std; int daytab[2][13] = { {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,3...
2023-07-30
0
272
题解 | #打印日期#
#include <iostream> using namespace std; int main() { int y, n; int m, d, m1; std::cin >> y >> n; if (y % 4 == 0 &a...
2023-07-30
0
155
题解 | #Old Bill#
#include <iostream> using namespace std; int main() { int N, X, Y, Z, A, k = -1,f;//声明火鸡数量N,千百十位数分别为XYZ,以及总价格A,以及单价k并给初值为-1 std::cin &g...
2023-06-20
0
273
首页
上一页
1
2
3
4
下一页
末页