福涂
福涂
全部文章
分类
归档
标签
去牛客网
登录
/
注册
福涂的博客
TA的专栏
60篇文章
0人订阅
计算机复试机试(王道版)
59篇文章
408人学习
浙大版《C语言程序设计第4版》
1篇文章
170人学习
全部文章
(共45篇)
题解 | 今年的第几天?
来自专栏
#include<stdio.h> using namespace std; void nextday(int& year, int& month, int& day) { int dayofmonth[] = {0,31,28,31,30,31,30,31,...
2026-01-27
0
63
题解 | Old Bill
来自专栏
#include<stdio.h> using namespace std; int main() { int n; int x, y, z; int sum; int max = 0; //scanf("%d", &...
2026-01-27
0
45
题解 | 百鸡问题
来自专栏
#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
40
题解 | 与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
35
题解 | 对称平方数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
36
题解 | 反序数
来自专栏
#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
54
题解 | 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
74
题解 | 找位置
来自专栏
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<map> #include<vector> #include<algorithm> using namespace std; //使用...
2026-01-27
0
42
题解 | 查找
来自专栏
法1:二分法,注意递归调用时把函数值return返回上一层 #include<stdio.h> #include<vector> #include<algorithm> using namespace std; //二分法(折半查找)b是否在数组a中 bool ...
2026-01-27
0
53
题解 | 找x
来自专栏
#include<stdio.h> using namespace std; #include<vector> #include<algorithm> int main(){ int n; while(scanf("%d",&...
2026-01-27
1
47
首页
上一页
1
2
3
4
5
下一页
末页