信息学奥赛一本通T1178-成绩排序 结构体 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体s,包含一个字符串k和一个整数j struct s{ …… 题解列表 2024年11月28日 0 点赞 0 评论 274 浏览 评分: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 评论 1170 浏览 评分:0.0
编写题解 2857: 加密的病历单 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[828]; int i,len;gets(a); …… 题解列表 2024年11月28日 2 点赞 0 评论 286 浏览 评分: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 评论 215 浏览 评分:0.0
普普通通的解题方法1124 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include"ctype.h"#include <string.h>int main(){ char a[66] = {…… 题解列表 2024年11月27日 0 点赞 0 评论 336 浏览 评分: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 评论 152 浏览 评分: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 评论 371 浏览 评分:0.0
简单简单简单的1131 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f(int n){ if(n==1||n==2) return 1; if(n>2) return f(n-1)+f(n-2);…… 题解列表 2024年11月27日 0 点赞 0 评论 327 浏览 评分:10.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 评论 344 浏览 评分:0.0
蓝桥杯2024年第十五届省赛真题-数字诗意,纯暴力!!! 摘要:解题思路: 排除2的n次幂就行了注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义一个长整型数组,用于存储…… 题解列表 2024年11月27日 8 点赞 0 评论 2357 浏览 评分:0.0