题解列表

筛选

数学逻辑简单一点点

摘要:解题思路:首先,我们需要解决一道数学题,可以直接解题,也可以选择代具体的数字,然后把这题逻辑理清楚;然后把它用代码说出来,代码输出结果不是我们理想的结果,我们就根据结果不理想的地方再改改。注意事项:参……

汽水瓶:n/2

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i=-1,j,n[100];    do{        scanf("%d",&n[++i]);……

2840: 向量点积计算 3个for

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n;    scanf("%d",&n);    int i,j,arr[n],brr[n],su……

循环入门练习2

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#include <string.h>int main(){ int i, e=0; for (i ……

利润计算c语言求解

摘要:解题思路:利用递归思想参考代码:#include <stdio.h> int func(int n); int main() {     int n, result;     scan……