简单判断分支 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d&q…… 题解列表 2026年07月20日 0 点赞 0 评论 186 浏览 评分:0.0
简短,无需多言 解题思路:注意事项:参考代码:#include#includeintmain(intargc,char*argv[]){inta,i,g,s,b,count=0;scanf("%d",&a);g=a%10;s=a/10%10;b=a/100;if(g*g*g+s* 题解列表 2026年04月14日 0 点赞 0 评论 181 浏览 评分:0.0
水仙花数问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b[100],i,…… 题解列表 2025年11月12日 2 点赞 0 评论 576 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int b,bjg = 0,yx = 0,hx = 0; scanf("%d…… 题解列表 2024年12月04日 0 点赞 0 评论 935 浏览 评分:0.0
c语言代码详细 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b,c,n; scanf ("%d",&n); …… 题解列表 2024年12月04日 1 点赞 0 评论 711 浏览 评分: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 评论 479 浏览 评分:0.0
1119: C语言训练-"水仙花数"问题1 摘要:解题思路:1,倒序。 g = n % 10;%10的结果是他的个位,个位我们用g表示。 n = n / 10;/10是剩下的数。 fn = fn + g * g * g;这是倒序后…… 题解列表 2024年07月19日 0 点赞 0 评论 679 浏览 评分:0.0
编写题解 1119: C语言训练-"水仙花数"问题1(循环解决) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,c=0; scanf("%d", &n); int t = n; while (n != 0) …… 题解列表 2024年03月06日 1 点赞 0 评论 957 浏览 评分:10.0
C语言--好理解 摘要:解题思路:简单的if语句的使用;注意事项:用pow(n,m)表示立方,不然只有75分。pow(n,m)代表n的m次方;参考代码:#include <stdio.h>int main(){ int…… 题解列表 2023年11月18日 0 点赞 0 评论 598 浏览 评分:0.0
C语言训练-"水仙花数"问题1 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int number; int originalNumber, remainder, resul…… 题解列表 2023年11月06日 0 点赞 0 评论 556 浏览 评分:0.0