1064: 二级C语言-阶乘数列 双重for循环 摘要:解题思路:注意事项:注意用double来储存“和”。参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c; double sum2 =…… 题解列表 2024年12月03日 1 点赞 0 评论 1058 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int b,bjg = 0,yx = 0,hx = 0; scanf("%d",…… 题解列表 2024年12月04日 1 点赞 0 评论 640 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:def Compare(a, b): if isinstance(a, int) and isinstance(b, int): return…… 题解列表 2024年12月04日 0 点赞 0 评论 517 浏览 评分:9.9
不懂可评论 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; class Compare { public static int Compare(int a,int …… 题解列表 2024年12月04日 1 点赞 0 评论 878 浏览 评分:0.0
交换变量值过程中的顺序,临时变量,被赋值的不同对象 摘要:解题思路:交换变量值过程中的顺序,临时变量,被赋值的不同对象。参考代码:#include<iostream> using namespace std; int main() { int…… 题解列表 2024年12月04日 0 点赞 0 评论 381 浏览 评分:0.0
题目意思要理解清楚 摘要:解题思路:注意事项:只动最小值,最大值,第一位,最后一位这四个位置的数字,其他的不动哦。(先找最小值,再找最大值)参考代码:#include<stdio.h>void f1(int a[]){ …… 题解列表 2024年12月04日 3 点赞 0 评论 1173 浏览 评分:10.0
一组数组不行就两组 摘要:解题思路:注意事项:在自定义函数中在定义一组数组,用于存放原数组中各数组元素后移形成的各数组元素。参考代码:#include<stdio.h>void f(int a[],int n,int m){ …… 题解列表 2024年12月04日 0 点赞 0 评论 576 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[150]; int i,n,m; scanf("%d",&n); scan…… 题解列表 2024年12月04日 2 点赞 0 评论 1219 浏览 评分:0.0
1119简单if循环 摘要:解题思路:把数学公式理解就好了注意事项:参考代码:#include<stdio.h>#include<math.h>#define P(x) pow(x,3)int main(){ int a,b,c…… 题解列表 2024年12月04日 0 点赞 0 评论 481 浏览 评分:0.0
简易,易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b,c; for (int i=100; i<1…… 题解列表 2024年12月04日 11 点赞 0 评论 2191 浏览 评分:10.0