[编程入门]选择排序 摘要:解题思路: 在未排序序列中找到最小(大)元素,存放到排序序列的起始位置,然后,再从剩余未排序元素中继续寻找最小(大)元素,然后放到已排序序列的末尾。以此类推,直到所有元素…… 题解列表 2024年11月27日 1 点赞 0 评论 694 浏览 评分:0.0
蓝桥杯2024年第十五届省赛真题-数字诗意,纯暴力!!! 摘要:解题思路: 排除2的n次幂就行了注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义一个长整型数组,用于存储…… 题解列表 2024年11月27日 8 点赞 0 评论 2363 浏览 评分:0.0
超级超级简单的1129冒泡法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],t=0; for(int i=0;i<10;i++) scanf("%d",&a[i]);…… 题解列表 2024年11月27日 0 点赞 0 评论 347 浏览 评分:0.0
简单简单简单的1130 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char p[100]; int s=0; gets(p); for(int i=0;p[i]!='\0…… 题解列表 2024年11月27日 0 点赞 0 评论 373 浏览 评分:0.0
简单的递归进行 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f(int x){ if(x==1) return 10; if(x>1) return f(x-1)+2;}int main(…… 题解列表 2024年11月27日 0 点赞 0 评论 153 浏览 评分:0.0
普普通通的解题方法1124 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include"ctype.h"#include <string.h>int main(){ char a[66] = {…… 题解列表 2024年11月27日 0 点赞 0 评论 343 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int x,n; scanf("%d%d",&x,&n); printf("%0…… 题解列表 2024年11月27日 0 点赞 0 评论 216 浏览 评分:0.0
编写题解 2857: 加密的病历单 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[828]; int i,len;gets(a); …… 题解列表 2024年11月28日 2 点赞 0 评论 288 浏览 评分:0.0
清晰明了,用long long int解决阶乘数过大的问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long int n,i,sum=0,t=1; scanf("%lld",&n); …… 题解列表 2024年11月28日 4 点赞 0 评论 1171 浏览 评分:0.0
信息学奥赛一本通T1178-成绩排序 结构体 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体s,包含一个字符串k和一个整数j struct s{ …… 题解列表 2024年11月28日 0 点赞 0 评论 276 浏览 评分:0.0