编写题解 1951: 求平方和 摘要:解题思路:求两个数的平方和 定义两个变量a,b,再定义一个变量s存放所求的值; 用 scanf 输入变量; …… 题解列表 2024年12月03日 0 点赞 0 评论 1040 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void f(char a[],int n){ int i; for(i=0;i<n;i…… 题解列表 2024年12月03日 0 点赞 0 评论 515 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int isprime(int a){ int i; if(a==2||a==3) r…… 题解列表 2024年12月03日 0 点赞 0 评论 435 浏览 评分:0.0
送分了........ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void swap(int a,int b){ int t; t=a; a=b; b=t; printf(…… 题解列表 2024年12月03日 0 点赞 0 评论 451 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:把阶乘和阶乘之和用double来储存参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b; double sum1 =…… 题解列表 2024年12月03日 0 点赞 0 评论 618 浏览 评分:0.0
1064: 二级C语言-阶乘数列 双重for循环 摘要:解题思路:注意事项:注意用double来储存“和”。参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c; double sum2 =…… 题解列表 2024年12月03日 1 点赞 0 评论 1046 浏览 评分:0.0
1097:蛇形矩阵 摘要:#include <stdio.h> int main() { int n; int a[100][100], i,j,c; while (scanf("%d", &n) != E…… 题解列表 2024年12月03日 2 点赞 0 评论 953 浏览 评分: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 评论 613 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; class Compare { public static int Compare(int a,int …… 题解列表 2024年12月04日 1 点赞 0 评论 865 浏览 评分:0.0
交换变量值过程中的顺序,临时变量,被赋值的不同对象 摘要:解题思路:交换变量值过程中的顺序,临时变量,被赋值的不同对象。参考代码:#include<iostream> using namespace std; int main() { int…… 题解列表 2024年12月04日 0 点赞 0 评论 366 浏览 评分:0.0