在春招的王者很想去西藏旅游
在春招的王者很想去西藏旅游
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在春招的王者很想去西藏旅游的博客
全部文章
(共14篇)
题解 | #n的阶乘#
#include <bits/stdc++.h> using namespace std; long long func(int n){//用ll因为int表示范围不够 if(n==1) return 1; else return func(n-1)*n; } int ...
2024-03-19
0
190
题解 | #简单计算器#
#include <bits/stdc++.h> #include <cstddef> #include <cstdio> #include <stack> #include <string> using namespace std; i...
2024-03-15
0
301
题解 | #Zero-complexity #
#include <bits/stdc++.h> #include <cstdio> #include <stack> using namespace std; int main() { int n; cin>>n; stac...
2024-03-13
0
257
题解 | #Fibonacci#
#include <bits/stdc++.h> using namespace std; int Fibo(int n){ if(n==0) return 0; else if(n==1) return 1; return Fibo(n-1)+Fibo(n-2)...
2024-03-12
0
224
题解 | #完数VS盈数#
#include <bits/stdc++.h> #include <cmath> using namespace std; int main() { int b[61], c[61]; int k = 0; int z = 0; for (...
2024-03-11
0
208
题解 | #查找#
#include <bits/stdc++.h> using namespace std; int a[101]; int main() { int n,m; map <int,int> find; while(cin>>n){ f...
2024-03-11
0
217
题解 | #查找#
#include <bits/stdc++.h> using namespace std; int a[101]; bool find(int n,int x){ int left=0; int right=n-1; while(left<...
2024-03-11
0
245
题解 | #找x#
#include <bits/stdc++.h> using namespace std; int main() { int n,x; int pos=-1; while(cin>>n){ int a[n]; for(int i=0;...
2024-03-07
0
236
题解 | #成绩排序#
#include <bits/stdc++.h> using namespace std; typedef struct student{ int order; char name[50];//姓名 int score;//成绩 }stu; bool comp1...
2024-03-07
0
174
题解 | #成绩排序#
#include <algorithm> #include <bits/stdc++.h> using namespace std; typedef struct student{ int p;//学号 int q;//成绩 }stu; bool comp(...
2024-03-07
0
215
首页
上一页
1
2
下一页
末页