C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 摘要: #include<stdio.h> int main() { int a,b; scanf("%d%d",&a,&b); int c = a; int sum = 0; …… 题解列表 2023年06月12日 0 点赞 0 评论 266 浏览 评分:0.0
筛选N以内的素数 摘要:```python x=list(map(int,input().split())) t=0 for i in range(10): min=i for j in ran…… 题解列表 2023年06月12日 0 点赞 0 评论 421 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int compare(const void* a, const void* b){ int …… 题解列表 2023年06月12日 0 点赞 0 评论 263 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-网络稳定性(最大生成树+LCA) 摘要:### 蓝桥杯2023年第十四届省赛真题-网络稳定性(最大生成树+LCA) ```java import java.io.*; import java.util.*; import java.…… 题解列表 2023年06月12日 0 点赞 0 评论 1935 浏览 评分:4.8
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101]; gets(str); int maxn=0, …… 题解列表 2023年06月12日 0 点赞 0 评论 337 浏览 评分:0.0
自定义函数之字符串反转 摘要:解题思路:如题所述注意事项:参考代码:#include <stdio.h>int main(){ char a[50]; int i=0; int count=0; scanf("%s", a); f…… 题解列表 2023年06月12日 0 点赞 0 评论 219 浏览 评分:0.0
指定数字相同的数的个数 摘要:解题思路:用动态创建空间大小不至于定义的数组空间固定不利于修改注意事项:参考代码:/*题目 2834: 与指定数字相同的数的个数题目描述输出一个整数序列中与指定数字相同的数的个数。*/#include…… 题解列表 2023年06月12日 0 点赞 0 评论 395 浏览 评分:0.0
信息学奥赛一本通T1181-整数奇偶排序 摘要:解题思路:通过设置3个数组,用for循环分别录入,计算相应奇偶数数量,输出。使用冒泡法进行排序。注意事项:参考代码:#include <stdio.h>int main(){ int a[10]…… 题解列表 2023年06月12日 0 点赞 2 评论 402 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int m,* a,i,max,min; scanf("%d",…… 题解列表 2023年06月12日 0 点赞 0 评论 276 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int k; scanf("%d", &k); char …… 题解列表 2023年06月12日 0 点赞 0 评论 351 浏览 评分:0.0