题解列表

筛选

三组数求和的方法

摘要:解题思路:逐个求和注意事项:求sum3的时候要注意i为浮点型参考代码:#include<stdio.h>int main(){ int a,b,c; float sum1=0,sum2=0,sum3=……

字符串正反连接(C语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>char *fun(char str[]){ char* str1 = str; char* str……

C语言训练-求函数值

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int x){      if(x==1)      {            return 10;      }   ……

编写题解 1670: 拆分位数

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> //定义头文件 int main() {      int i,j,k,l;    ……

编写题解 1671: 小九九

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> //定义头文件 int main() {   int i, j;   for (i ……

蛇形矩阵C语言

摘要:解题思路:计算出矩阵中最大值为多少,然后再计算矩阵各个值。注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][……