奔放的芭乐在做ppt
奔放的芭乐在做ppt
全部文章
分类
归档
标签
去牛客网
登录
/
注册
奔放的芭乐在做ppt的博客
全部文章
(共38篇)
题解 | #完数#
#include<cstdio> #include<iostream> #include<vector> using namespace std; int sum(int m) { int sum=0; for(int i=1;i<=m/2;i++) ...
2023-05-12
0
275
题解 | #完数VS盈数#
#include<cstdio> #include<iostream> #include<vector> using namespace std; int sum(int m) { int sum=0; for(int i=1;i<=m/2;i++) ...
2023-05-12
0
286
题解 | #完数与盈数#
#include<cstdio> #include<iostream> #include<vector> using namespace std; int sum(int m) { int sum=0; for(int i=1;i<=m/2;i++) ...
2023-05-12
0
330
题解 | #打印极值点下标#
#include<cstdio> #include<iostream> using namespace std; int main() { int n; int a[100]; while(scanf("%d",&n)!=EOF) { for(int i=0;i&l...
2023-05-08
0
243
题解 | #找最小数# 方法2
#include<cstdio> #include<iostream> #include<algorithm> using namespace std; int xmin; int ymin; int xcount; typedef struct S{ int ...
2023-05-07
0
271
题解 | #找最小数#
#include<cstdio> #include<iostream> #include<algorithm> using namespace std; int xmin; int ymin; int xcount; typedef struct S{ int ...
2023-05-07
0
288
题解 | #小白鼠排队#
#include<cstdio> #include<iostream> #include<algorithm> using namespace std; typedef struct mouse{ int weight; char color[100]; }m...
2023-05-07
0
298
题解 | #特殊排序#
#include<cstdio> #include<iostream> #include<algorithm> using namespace std; bool com(int left,int right) { //true代表不调换 if(left&g...
2023-05-07
0
247
题解 | #查找#
//还可以使用map解决查找问题 //也就是说,可以让map中的key对应数组的值 //让map中的value对应数组的值的下标 #include<cstdio> #include<iostream> #include<map> usi...
2023-05-07
0
274
题解 | #查找#
//二分查找,要求数组必须有序,那也就是先排序再查找 #include<cstdio> #include<iostream> #include<algorithm> using namespace std; int a[100]; bool erfen(int n...
2023-05-07
0
328
首页
上一页
1
2
3
4
下一页
末页