给我就亿下
给我就亿下
全部文章
分类
归档
标签
去牛客网
登录
/
注册
给我就亿下的博客
全部文章
(共47篇)
题解 | #矩阵最大值#
#include <iostream> using namespace std; const int MAXN = 100 + 10; int matrix[MAXN][MAXN]; int main () { int m, n; while (cin >> m ...
2023-03-28
0
301
题解 | #矩阵转置#
#include <iostream> using namespace std; const int MAXN = 100 + 10; int matrix[MAXN][MAXN]; int main () { int n; while (cin >> n){ ...
2023-03-27
0
286
题解 | #排序#
#include <iostream> #include <algorithm> using namespace std; int main () { int n; while (cin >> n){ int arr[n]; for (int i ...
2023-03-27
0
229
题解 | #回文字符串#
#include <iostream> using namespace std; bool isReverse (string s){ string s1; for (int i = s.size() - 1; i >= 0; i--){ s1.push_back(s[...
2023-03-27
0
322
题解 | #日期差值#
#include <iostream> using namespace std; int dayTable[2][13] ={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,30,31,30,31,31,30,31,30...
2023-03-27
0
313
题解 | #Problem A#
#include <iostream> using namespace std; /*bool isFullnum (int n){ int sum = 0; for (int i = 1; i < n; i++){ if (n % i == 0){ sum +=...
2023-03-26
0
285
题解 | #对称平方数1#
#include <iostream> using namespace std; int reverse (int n){ int a = 0, b = 0; while (n != 0){ a = n % 10; n /= 10; b = b * 10 + a; ...
2023-03-26
0
301
题解 | #第一题#
#include <iostream> using namespace std; const int MAXN = 1000001; int father[MAXN]; int height[MAXN]; bool visit[MAXN]; void Initial (){ fo...
2023-03-26
0
310
题解 | #加法等式#
#include <iostream> using namespace std; int main () { int abc = 0, bcc = 0; for (int i = 1; i <= 9; i++){ for (int j = 1; j <= 9; j...
2023-03-26
0
392
题解 | #反序相等#
#include <iostream> using namespace std; int reverse (int n){ int a = 0, b = 0; while (n != 0){ a = n % 10; n /= 10; b = b * 10 + a; ...
2023-03-26
0
306
首页
上一页
1
2
3
4
5
下一页
末页