尤姆
尤姆
全部文章
分类
归档
标签
去牛客网
登录
/
注册
尤姆的博客
全部文章
(共48篇)
题解 | #Prime Number#
#include<cstdio> #include<vector> #include<cmath> using namespace std; int main(){ int n; vector<int>vec; for (int i = 2; v...
2023-03-02
0
207
题解 | #取中值#
#include<cstdio> #include<vector> using namespace std; int main(){ int n, m; scanf("%d %d", &n, &m); vector<int>vec1; vector&l...
2023-03-02
0
291
题解 | #Digital Roots#
#include<stdio.h> #include<vector> using namespace std; int main(){ int n; while (scanf("%d", &n) != EOF){ while (n >= 10){ vect...
2023-03-01
0
261
题解 | #求平均年龄#
#include<stdio.h> int main(){ int n; while (scanf("%d", &n) != EOF){ float sum = 0; for (int i = 0; i < n; i++){ int p; scanf("%d...
2023-03-01
0
297
题解 | #买房子#
#include<cstdio> int main(){ int N, K; while (scanf("%d %d", &N, &K) != EOF){ float V = 200; int s=N; int i = 0; for (; i < 21; i++...
2023-03-01
0
231
题解 | #学分绩点#
#include<cstdio> #include<vector> using namespace std; double run(int n){ if (n >= 90){ return 4.0; } else if (n >= 85 && n <...
2023-03-01
0
243
题解 | #打印极值点下标#
#include<cstdio> #include<vector> using namespace std; int main(){ int n; while (scanf("%d", &n) != EOF){ vector<int> vec; vec...
2023-03-01
0
272
题解 | #skew数#
#include<cstdio> #include<cmath> using namespace std; int main(){ char num[100]; while (scanf("%s", &num) != EOF){ long long sum = 0; ...
2023-03-01
0
237
题解 | #Skew数#
#include<cstdio> #include<cmath> using namespace std; int main(){ char num[100]; while (scanf("%s", &num) != EOF){ long long sum = 0; ...
2023-03-01
0
265
题解 | #与7无关的数#
#include<cstdio> int main(){ int n,sum=0; while (scanf("%d", &n) != EOF){ for (int i = 1; i <= n; i++){ if (i % 7 != 0 && i % 10 != 7 ...
2023-03-01
0
198
首页
上一页
1
2
3
4
5
下一页
末页