无敌麦旋风
无敌麦旋风
全部文章
分类
归档
标签
去牛客网
登录
/
注册
无敌麦旋风的博客
全部文章
(共8篇)
题解 | 清楚姐姐的糖葫芦
#include<bits/stdc++.h> using namespace std; #define Max_Length 1001 int main(){ char s[Max_Length]; //输入字符串 scanf("%s",s)...
2026-02-21
0
6
题解 | 牛牛学数列6
#include <iostream> using namespace std; int main() { int arr[21]; int n; cin>>n; arr[1]=0; arr[2]=1; arr[3]=1; ...
2026-02-18
0
11
题解 | 魔法数字变换
#include <iostream> using namespace std; //构造判断奇偶数的函数 int f(int num) { int count=0; while(num!=1){ if(num%2==0){ num...
2026-02-18
0
11
题解 | 牛牛数数
#include<bits/stdc++.h> using namespace std; bool a(int num){ while(num>0){ if(num%10==4){ return true; } ...
2026-02-18
0
12
题解 | 小乐乐查找数字
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; //输入n的值 int numbers[101]; //存储数据 for(int i...
2026-02-18
0
9
题解 | 有序序列判断
#include<bits/stdc++.h> using namespace std; //判断输入数据的顺序 int issorted(int nums[],int n){ int isascending =1; int isdescending=1; //升...
2026-02-18
1
11
题解 | 23年OPPO-a的翻转
#include <iostream> using namespace std; //自己构造一个反转函数 int reverseNumber(int num) { int reversed = 0; while (num > 0) { revers...
2026-02-14
0
14
题解 | TD
#include<bits/stdc++.h> using namespace std; int main(){ double n,m,x; cin>>n>>m; x=n/m; cout<<fixed<<se...
2026-02-07
1
13