机试秒杀者
机试秒杀者
全部文章
分类
归档
标签
去牛客网
登录
/
注册
机试秒杀者的博客
全部文章
(共60篇)
题解 | 小白鼠排队
#include<bits/stdc++.h> using namespace std; struct Mouse{ int weight; string str; }; int main() { int n; while(cin>>n) ...
2025-03-12
0
16
题解 | 密码翻译
#include<bits/stdc++.h> using namespace std; int main() { string str; while (cin >> str) { int len = str.length(); ...
2025-03-12
0
14
题解 | 完数VS盈数
#include<bits/stdc++.h> using namespace std; int judge(int k) { int num = 1; for (int i = 2; i <= sqrt(k); i++) { if (k % i ...
2025-03-11
0
14
题解 | abc
#include<bits/stdc++.h> using namespace std; int main() { for(int i = 0;i<10;i++) { for(int j = 0;j<10;j++) { ...
2025-03-11
0
15
题解 | 求最大最小数
#include<bits/stdc++.h> using namespace std; int main() { int n; int num[10000]; while(cin>>n) { for(int i = 0;i&...
2025-03-11
0
22
题解 | 球的半径和体积
#include<bits/stdc++.h> using namespace std; int main() { int x0,y0,z0,x1,y1,z1; double r,tiji; while(cin>>x0>>y0>&g...
2025-03-11
0
17
题解 | 成绩排序
#include<bits/stdc++.h> using namespace std; int main() { int n; while(cin>>n) { int id[100],score[100]; for(...
2025-03-11
0
15
题解 | 质因数的个数
#include<bits/stdc++.h> using namespace std; int main() { int n, num = 0; while(cin>>n) { for(int i = 2;i<sqrt(n);...
2025-03-11
0
20
题解 | 约数的个数
#include<bits/stdc++.h> using namespace std; int numyueshu(int num) { int result = 0; for(int i = 1;i<=sqrt(num);i++) { ...
2025-03-10
0
16
题解 | 成绩排序
#include<bits/stdc++.h> using namespace std; //定义一个结构体 struct Student { string str; int score; }; int main() { int n, k; whil...
2025-03-10
0
19
首页
上一页
1
2
3
4
5
6
下一页
末页