offer多多的椰子很爱看电影
offer多多的椰子很爱看电影
全部文章
分类
归档
标签
去牛客网
登录
/
注册
offer多多的椰子很爱看电影的博客
全部文章
(共8篇)
题解 | #找x#
#include<iostream> #include<algorithm> using namespace std; int n,a[220]; int main() { while(scanf("%d",&n)!=EOF){ ...
2024-11-19
0
51
题解 | #成绩排序#
//注意有多组数据;用cin cout方便字符串的读取和输入; //两个比较函数用在sort里 //了解更多sort函数访问http://www.cplusplus.com/reference/algorithm/sort/ #include <iostream> #include &l...
2024-11-18
0
46
题解 | #成绩排序#
//排序规则黄金法则:比较函数的返回值为true时,表示的是比较函数的第一个参数将会排在第二个函数前面 #include <iostream> #include <algorithm> #include <cstdio> using namespace std; ...
2024-11-18
1
56
题解 | #特殊排序#
#include <iostream> #include <algorithm> #include <cstdio> using namespace std; const int MAX=110; int arr[MAX]; int main() { in...
2024-11-18
0
47
题解 | #排序#
#include <iostream> #include <algorithm> #include <cstdio> using namespace std; const int MAX=110; int arr[MAX]; int main() { in...
2024-11-18
0
48
题解 | #xxx定律#
#include <iostream> #include <cstdio> using namespace std; int main(){ int n,ans=0; while(scanf("%d",&n)!=EO...
2024-11-15
0
49
题解 | #2.2 反序数#
学会使用反序数函数 运算次数不超过
2024-11-04
0
69
题解 | #abc#
枚举法 简化代码会更好:
2024-11-04
0
60