C语言训练-"水仙花数"问题2 问题一略作修改 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int num=100,o,t,h; //scanf("%d…… 题解列表 2021年06月29日 0 点赞 0 评论 531 浏览 评分:9.9
题解 1119: C语言训练-"水仙花数"问题1 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int num,o,t,h; scanf("%d",&num…… 题解列表 2021年06月29日 0 点赞 0 评论 266 浏览 评分:8.0
题解 1053: 二级C语言-平均值计算 while循环看起来比较简洁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ double a[10]; double ave,sum=0…… 题解列表 2021年06月29日 0 点赞 0 评论 410 浏览 评分:0.0
平淡无奇的解法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ double pro,bon; double bon1=1*…… 题解列表 2021年06月29日 0 点赞 0 评论 286 浏览 评分:0.0
超级链表删除改编版,值得一阅!(有注释) 摘要:解题思路:一步一步来,先创建,然后删除,然后输出即可,别急注意事项:注意代码中的指针的运用参考代码:#include <stdio.h>#include <stdlib.h>typedef struc…… 题解列表 2021年06月28日 0 点赞 2 评论 807 浏览 评分:9.7
注意科学计数法的使用%.2e 摘要:```c # include double fibo(n); double sum=0; int main(void){ for (int i=1;i…… 题解列表 2021年06月28日 0 点赞 0 评论 509 浏览 评分:0.0
比较简单理解这道题的解法 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a,b,x1,x2,x3,x4,x5; scanf("%d",&a); …… 题解列表 2021年06月28日 0 点赞 0 评论 176 浏览 评分:0.0
百分制成绩转换 摘要:## 1.解题思路: (1)用数组a存储学生成绩,数组b存储各个档次中的学生数量 (2)用for循环输入成绩,并依次对成绩进行判断,更新各个档次中的学生数量 (3)按要求输出对应档次中的学生数量…… 题解列表 2021年06月27日 0 点赞 0 评论 544 浏览 评分:9.9
1025: [编程入门]数组插入处理——题解 C 摘要:解题思路:因为是已经正排好的数组,所以直接找到比输入项大的那项之后所有项所有都往后移动就可以,如果没有比他大的就直接放在最后。注意事项:这个写法只适用于小数据量,大型数据量建议快排。参考代码:#inc…… 题解列表 2021年06月26日 0 点赞 0 评论 421 浏览 评分:0.0
母牛的故事 摘要:解题思路:寻找数字规律注意事项:用函数调用会超时参考代码:#include<iostream>using namespace std;int main(){ int n,i; int f[…… 题解列表 2021年06月26日 0 点赞 0 评论 216 浏览 评分:0.0