C语言训练-水仙花数 摘要:解题思路:将所有三位数遍历,分别判断是否为水仙花数,是则输出。注意事项:参考代码:#include<stdio.h>#include<math.h>int main(void){ int m; …… 题解列表 2024年12月03日 0 点赞 0 评论 304 浏览 评分:0.0
布尔类型变量 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <stdbool.h>int main (){ bool b; char c; printf ("%…… 题解列表 2024年12月03日 0 点赞 0 评论 419 浏览 评分:0.0
简单,易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,sum; scanf ("%d %d",&x,&y); sum=x+y; …… 题解列表 2024年12月03日 3 点赞 0 评论 795 浏览 评分:0.0
简易,易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ char ming; scanf("%c",&ming); int port; port…… 题解列表 2024年12月03日 0 点赞 0 评论 275 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[]…… 题解列表 2024年12月03日 0 点赞 0 评论 487 浏览 评分:0.0
编写题解 1951: 求平方和 摘要:解题思路:求两个数的平方和 定义两个变量a,b,再定义一个变量s存放所求的值; 用 scanf 输入变量; …… 题解列表 2024年12月03日 0 点赞 0 评论 447 浏览 评分: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 评论 212 浏览 评分: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 评论 150 浏览 评分: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 评论 155 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:把阶乘和阶乘之和用double来储存参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b; double sum1 =…… 题解列表 2024年12月03日 0 点赞 0 评论 335 浏览 评分:0.0