在考古的小鱼干很有气魄
在考古的小鱼干很有气魄
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在考古的小鱼干很有气魄的博客
全部文章
(共84篇)
题解 | #神奇的口袋#
#include <bits/stdc++.h> #define MAX 100 using namespace std; int main() { int dp[MAX][MAX], v[MAX]; int n; cin >> n; for...
2023-03-08
1
381
题解 | #最长&最短文本#
#include <bits/stdc++.h> #define MAX 1000 using namespace std; int main(){ string data[MAX],n; int len = 0; int maxSize = -1,minSize = MAX; ...
2023-03-08
1
350
题解 | #八进制#
#include <bits/stdc++.h> #define MAX 100 using namespace std; void conv(int n,int mod){ int data[MAX],len = 0; while(n){ data[len+...
2023-03-08
1
288
题解 | #阶乘#
#include <bits/stdc++.h> #define MAX 100 using namespace std; int main(){ int dp[MAX]; int n; cin>>n; dp[0]=1; for(int i = 1; i <...
2023-03-08
4
311
题解 | #N阶楼梯上楼问题#
#include <bits/stdc++.h> #define MAX 100 using namespace std; int main(){ int dp[MAX],n; while(cin>>n){ dp[0] = 0; dp[1] = 1; dp[...
2023-03-07
1
326
题解 | #大整数排序#
#include <bits/stdc++.h> #define MAX 1000 using namespace std; bool cmp(vector<int> a, vector<int> b) { int lena = a.size(), le...
2023-03-07
1
347
题解 | #二叉排序树#
#include <bits/stdc++.h> using namespace std; typedef struct BiTNode { int data; struct BiTNode* lchild, *rchild; } BiTNode, *BiTree; ...
2023-03-07
1
359
题解 | #打印日期#
#include <bits/stdc++.h> using namespace std; bool isrun(int n) { if ((n % 4 == 0 && n % 100 != 0) || n % 400 == 0) return true; ...
2023-03-07
1
297
题解 | #对称矩阵#
#include <bits/stdc++.h> #define MAX 100 using namespace std; int main() { int n; int data[MAX][MAX]; while (cin >> n) { ...
2023-03-07
1
306
题解 | #最小年龄的3个职工#
#include <bits/stdc++.h> #define MAX 30 using namespace std; typedef struct worker { int num; string name; int age; } worker; bool...
2023-03-07
1
298
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页