coder_bai
coder_bai
全部文章
分类
归档
标签
去牛客网
登录
/
注册
coder_bai的博客
全部文章
(共59篇)
题解 | #反序输出#
#include <iostream> #include <stack> #include <string.h> using namespace std; int main() { char x[300]; while (cin >&g...
2023-01-24
0
243
题解 | #约数的个数#
#include <iostream> #include <bits/stdc++.h> using namespace std; int main() { int N = 0; while (cin >> N) { for (...
2023-01-23
0
272
题解 | #特殊乘法#
#include<bits/stdc++.h> using namespace std; int main() { long int shu1 = 0, shu2 = 0; while (cin >> shu1 >> shu2) { ...
2023-01-13
0
339
题解 | #n的阶乘#
#include<bits/stdc++.h> using namespace std; int main() { long long int n, jie = 1; while (cin >> n) { for (int i = 1; i &...
2023-01-13
0
403
题解 | #矩阵幂#
#define _CRT_SECURE_NO_WARNINGS 1 #include<bits/stdc++.h> using namespace std; const int MAXN = 100; struct Matrix { int row, col; int m...
2023-01-12
0
400
题解 | #最大公约数#
#include <bits/stdc++.h> using namespace std; int main() { int m = 0, n = 0, i = 1, maxgongyue = 1; while (cin >> m >> n) {...
2023-01-06
0
233
题解 | #数制转换#
#define _CRT_SECURE_NO_WARNINGS 1 #include <bits/stdc++.h> using namespace std; int CharToInt(char c) { int temp = 0; if (c <= '9' &...
2023-01-06
0
258
题解 | #八进制#
#define _CRT_SECURE_NO_WARNINGS 1 #include <bits/stdc++.h> using namespace std; int charToint(char C) { int k = 0; if (C >= '0' && C ...
2023-01-05
0
303
题解 | #进制转换2#
#define _CRT_SECURE_NO_WARNINGS 1 #include <bits/stdc++.h> using namespace std; int charToint(char C) { int k = 0; if (C >= '0' && C ...
2023-01-05
0
259
题解 | #二进制数#
#define _CRT_SECURE_NO_WARNINGS 1 #include <bits/stdc++.h> using namespace std; void jinzhi(int shuzi) { vector<int>ansever; if (...
2023-01-05
0
330
首页
上一页
1
2
3
4
5
6
下一页
末页