尤姆
尤姆
全部文章
分类
归档
标签
去牛客网
登录
/
注册
尤姆的博客
全部文章
(共48篇)
题解 | #火星A+B#
#include<iostream> #include<string> #include<vector> using namespace std; int length(string str){ int k=1; for (int i = 0; i < ...
2023-03-11
0
277
题解 | #首字母大写#
#include<iostream> #include<string> using namespace std; int main(){ string str; while (getline(cin, str)){ if ('a' <= str[0] && st...
2023-03-11
0
193
题解 | #最小长方形#
#include<cstdio> int main(){ int x1, y1; while (scanf("%d%d", &x1, &y1) != EOF){ if (x1 == 0 && y1 == 0){ break; } int n1, n2, m1, m2...
2023-03-10
0
273
题解 | #浮点数加法#
#include<cstdio> #include<string> #include<iostream> using namespace std; int findpot(string str){ int i=0; for (; i < str.size...
2023-03-10
0
323
题解 | #排名#
#include<cstdio> #include<iostream> #include<string> #include<algorithm> using namespace std; struct Stu{ string seq; int nu...
2023-03-10
0
339
题解 | #Old Bill#
#include<cstdio> int main(){ int n; while (scanf("%d", &n) != EOF){ int a1,a2,a3; scanf("%d %d %d", &a1,&a2,&a3); int i = 9; bool flag...
2023-03-09
0
207
题解 | #计算两个矩阵的乘积#
#include<cstdio> int main(){ int a[12]; for (int i = 0; i < 12; i++){ scanf("%d", &a[i]); } int b1, b2, b3, b4; b1 = a[0] * a[6] + a[1...
2023-03-09
0
286
题解 | #进制转换#
#include<cstdio> #include<string> #include<iostream> #include<vector> using namespace std; int main(){ string str; while (ci...
2023-03-08
0
222
题解 | #搬水果#
#include<cstdio> #include<algorithm> using namespace std; int main(){ int n,a[10000]; while (scanf("%d", &n) != EOF){ if (n == 0){ ...
2023-03-05
0
276
题解 | #求解立方根#
#include<cstdio> int main(){ double m,n; scanf("%lf", &n); if (n > 0){ m = 0.01; while (m*m*m <= n){ m = m + 0.01; } } else{...
2023-03-05
0
573
首页
上一页
1
2
3
4
5
下一页
末页