外出旅游(超详细容易理解版) 摘要:解题思路:看如下代码的注释注意事项:我都写的那么详细了不给个5星好评?参考代码:#include<stdio.h>int main(){ int a,b,c,d; int i; …… 题解列表 2022年11月08日 0 点赞 0 评论 468 浏览 评分:9.9
利用数组下标来排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,num,m=0;scanf("%d",&N);int a[1001]={0};int b[1001]…… 题解列表 2022年11月08日 0 点赞 0 评论 287 浏览 评分:9.9
基础算法--快速排序法(附yxc快排模板) 摘要:解题思路: 快速排序法是使用分治法的策略把一个串行分成两个子串行(即把数组以一个数为基准分为小于基准值的数列和大于基准值的数列)。快速排序法应该算是在冒泡排序法基础上的递…… 题解列表 2022年11月08日 0 点赞 0 评论 964 浏览 评分:9.9
满分题解!!! 摘要:解题思路:先将7个评委的分数全部加在总和sum中,最后减掉最大值和最小值即可!注意事项:多组测试数据参考代码:#include <stdio.h>typedef struct Competitor …… 题解列表 2022年11月08日 0 点赞 0 评论 452 浏览 评分:9.9
输出字符'A'个数 摘要:#include<stdio.h>int main(){ int i,n; scanf("%d",&n); for(i=1;i<=n;i++){ printf("%c",'A'); …… 题解列表 2022年11月08日 0 点赞 0 评论 238 浏览 评分:0.0
1118一行解(Python) 摘要:解题思路:大体就是将字符串中的每一个元素添加进列表,用sum对列表求和注意事项:注意最后一个元素为'\n'时要去除参考代码:import sysfor line in sys.stdi…… 题解列表 2022年11月08日 0 点赞 0 评论 300 浏览 评分:0.0
输入输出练习之第二数字(数组版) 摘要:解题思路:非常常规的思路注意事项:参考代码:#include<stdio.h>int main(){ int a[3]; int i; for(i=0;i<3;i++) { …… 题解列表 2022年11月08日 0 点赞 0 评论 1082 浏览 评分:9.3
只是写写注意事项 摘要:解题思路:注意事项:参考代码:int main(){ printf("Hello, World!"); return 0;}//注意要写一个空格在逗号后面…… 题解列表 2022年11月08日 0 点赞 0 评论 505 浏览 评分:4.7
(C语言版)梯形面积 摘要:解题思路:先求出高为20,即可注意事项:参考代码:#include<stdio.h> //对应题目2997int main(){ float s; s=15+25; s=s*10;…… 题解列表 2022年11月08日 0 点赞 0 评论 833 浏览 评分:5.3
电影票(小白版) 摘要:解题思路:注意事项:写的那么好,不来个五星?参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); b=a*10; …… 题解列表 2022年11月08日 1 点赞 1 评论 797 浏览 评分:8.8