敲简单C语言代码!!! 摘要:解题思路:十进制转化n进制法制(简化易理解版):十进制数a*3取整数部分,剩下的部分(刨去整数的部分)按照此规律循环计算;四舍五入:n/2跟末位比较;注意事项:参考代码:#include <stdio…… 题解列表 2022年11月08日 0 点赞 0 评论 487 浏览 评分:9.9
电影票(小白版) 摘要:解题思路:注意事项:写的那么好,不来个五星?参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); b=a*10; …… 题解列表 2022年11月08日 1 点赞 1 评论 818 浏览 评分:8.8
(C语言版)梯形面积 摘要:解题思路:先求出高为20,即可注意事项:参考代码:#include<stdio.h> //对应题目2997int main(){ float s; s=15+25; s=s*10;…… 题解列表 2022年11月08日 0 点赞 0 评论 850 浏览 评分:5.3
只是写写注意事项 摘要:解题思路:注意事项:参考代码:int main(){ printf("Hello, World!"); return 0;}//注意要写一个空格在逗号后面…… 题解列表 2022年11月08日 0 点赞 0 评论 532 浏览 评分:4.7
输入输出练习之第二数字(数组版) 摘要:解题思路:非常常规的思路注意事项:参考代码:#include<stdio.h>int main(){ int a[3]; int i; for(i=0;i<3;i++) { …… 题解列表 2022年11月08日 0 点赞 0 评论 1099 浏览 评分:9.3
1118一行解(Python) 摘要:解题思路:大体就是将字符串中的每一个元素添加进列表,用sum对列表求和注意事项:注意最后一个元素为'\n'时要去除参考代码:import sysfor line in sys.stdi…… 题解列表 2022年11月08日 0 点赞 0 评论 327 浏览 评分:0.0
输出字符'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 评论 253 浏览 评分:0.0
满分题解!!! 摘要:解题思路:先将7个评委的分数全部加在总和sum中,最后减掉最大值和最小值即可!注意事项:多组测试数据参考代码:#include <stdio.h>typedef struct Competitor …… 题解列表 2022年11月08日 0 点赞 0 评论 473 浏览 评分:9.9
基础算法--快速排序法(附yxc快排模板) 摘要:解题思路: 快速排序法是使用分治法的策略把一个串行分成两个子串行(即把数组以一个数为基准分为小于基准值的数列和大于基准值的数列)。快速排序法应该算是在冒泡排序法基础上的递…… 题解列表 2022年11月08日 0 点赞 0 评论 996 浏览 评分: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 评论 309 浏览 评分:9.9