编写题解 1129: C语言训练-排序问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int px(int num[],int len); int main() { int s[10]; …… 题解列表 2023年03月08日 0 点赞 0 评论 675 浏览 评分:9.9
编写题解 1045: [编程入门]自定义函数之整数处理 摘要:```c #include #include #include #include void input(int arr[]) { for (int i = 0; i < 10; i++…… 题解列表 2023年03月08日 0 点赞 0 评论 681 浏览 评分:0.0
有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); double sum=0,f1=2,f2=1,f…… 题解列表 2023年03月08日 0 点赞 0 评论 360 浏览 评分:0.0
编写题解 1044: [编程入门]三个字符串的排序 ```c#include#include#include#includeintmain(){chara[3][128];//每一行存一串字符串chartemp[128];//交换字符串for(inti=0;i<3;i++){gets(a[i]);}for(inti=0;i<3;i++)//冒泡排序{f 题解列表 2023年03月08日 0 点赞 0 评论 599 浏览 评分:0.0
[编程入门]求和训练-题解 解题思路:利用三次循环进行求解,将a,b,c中的值依次加到Sn上注意事项:int类型可以赋值给float类型,不会损失精度c部分的除法,分子用1.0,可以将k转换为浮点数进行运算,得到的值记为浮点数编程代码:#include#includeintmain(){in 题解列表 2023年03月08日 0 点赞 0 评论 608 浏览 评分:9.9
================================================================ 摘要:参考代码:#include <stdio.h>#include <string.h>int function(char str[]){ int h1,m1,s1,h2,m2,s2,t=0; …… 题解列表 2023年03月08日 0 点赞 0 评论 608 浏览 评分:0.0
1058: 二级C语言-求偶数和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,s=0; scanf("%d",&n); int a[n]; for(int i=0;i<n;i++…… 题解列表 2023年03月07日 0 点赞 0 评论 405 浏览 评分:0.0
三个数找最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; int max; scanf("%d%d%d",&a,&b,&c); max=a; if(…… 题解列表 2023年03月07日 0 点赞 0 评论 715 浏览 评分:0.0
c++ 40多行简单版 摘要:解题思路:创建链表删除所要求数据。注意事项:此为头插法,最后用数组来重新输出参考代码:#include<iostream>using namespace std;struct Data{ int…… 题解列表 2023年03月07日 0 点赞 0 评论 573 浏览 评分:9.9
巧用break怒干最小 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { int a, b, c; cin >> a >> b >> c; …… 题解列表 2023年03月07日 0 点赞 0 评论 600 浏览 评分:9.9