奋斗中的小美
奋斗中的小美
全部文章
分类
归档
标签
去牛客网
登录
/
注册
奋斗中的小美的博客
TA的专栏
53篇文章
0人订阅
计算机复试机试(王道版)
53篇文章
112人学习
全部文章
(共43篇)
题解 | 百鸡问题
来自专栏
#include<stdio.h> using namespace std; int main(){ int n; scanf("%d",&n); for(int i =0;i<=100;i++){ for(in...
2026-01-27
0
19
题解 | 与7无关的数
来自专栏
#include<stdio.h> using namespace std; bool fun(int num){ while(num!=0){ if(num%10==7)return false; num /=10; } r...
2026-01-27
0
11
题解 | 对称平方数1
来自专栏
#include<stdio.h> using namespace std; int main(){ for(int i =0;i<=256;i++){ int temp = i*i; int re=0; while...
2026-01-27
0
15
题解 | 反序数
来自专栏
#include<stdio.h> using namespace std; int main(){ int N; for(int i=1000;i<=9999;i++){ int ge=i%10; int shi=i/10%10; ...
2026-01-27
0
22
题解 | abc
来自专栏
#include<stdio.h> using namespace std; int main(){ int abc,bcc; for(int i=0; i<=9;i++){ for(int j =0;j<=9;j++){ ...
2026-01-27
0
28
题解 | 找位置
来自专栏
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<map> #include<vector> #include<algorithm> using namespace std; //使用...
2026-01-27
0
16
题解 | 查找
来自专栏
法1:二分法,注意递归调用时把函数值return返回上一层 #include<stdio.h> #include<vector> #include<algorithm> using namespace std; //二分法(折半查找)b是否在数组a中 bool ...
2026-01-27
0
22
题解 | 找x
来自专栏
#include<stdio.h> using namespace std; #include<vector> #include<algorithm> int main(){ int n; while(scanf("%d",&...
2026-01-27
1
24
题解 | 成绩排序
来自专栏
#include<stdio.h> using namespace std; #include<vector> #include<algorithm> struct student { int grade; int id; }; //改写比较规...
2026-01-27
0
20
题解 | 成绩排序
来自专栏
#include<stdio.h> using namespace std; #include<vector> #include<algorithm> //注意添加一个seq记录输入的前后顺序 struct student { int grade; ...
2026-01-27
0
27
首页
上一页
1
2
3
4
5
下一页
末页