题解 1156: C语言训练-阿姆斯特朗数(C-格式为空“一个”空格!!) 摘要:代码:#include<stdio.h> int main(void){ int i,j=0,a,b,c,product; int array[10]={0}; for(i=2…… 题解列表 2022年08月29日 0 点赞 0 评论 95 浏览 评分:0.0
骗 过 上 帝 的 代 码 摘要:解题思路:因为所有的阿姆斯特朗数只有四个,所以可以用这个投机取巧的方法注意事项:【手动滑稽】参考代码:#include<stdio.h>int main(){ printf("153 370 3…… 题解列表 2022年08月06日 0 点赞 2 评论 166 浏览 评分:9.9
不是说两个空格吗,两个空格过不了,只需要一个 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int arr[10]; for (int i = 0;…… 题解列表 2022年06月19日 0 点赞 0 评论 313 浏览 评分:9.9
1156:C语言训练-阿姆斯特朗数 摘要:```c #include #include int main(){ int i = 2; for(i;i0){ c = flag%10; sum += pow(c,…… 题解列表 2022年06月04日 0 点赞 0 评论 228 浏览 评分:0.0
C语言训练-阿姆斯特朗数 题解(c++易懂程序) 摘要:解题思路:就是水仙花数嘛!干嘛搞得这么高深!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ f…… 题解列表 2022年05月14日 0 点赞 0 评论 267 浏览 评分:0.0
阿姆斯特朗数 摘要:注意事项:从小到大输出,数之间用两个空格分开但实际上只需要一个空格参考代码:#include<iostream>#include<math.h> using namespace std;int mai…… 题解列表 2022年04月28日 0 点赞 0 评论 322 浏览 评分:9.9
Hifipsysta-1156题-C语言训练-阿姆斯特朗数(C++代码)字符串转换法 摘要: ```cpp #include #include #include #include using namespace std; bool is_armstrong(int n){ …… 题解列表 2022年01月31日 0 点赞 0 评论 230 浏览 评分:0.0
1156: C语言训练-阿姆斯特朗数 摘要:解题思路:注意事项:提交答案,显示基本正确,格式错误,没看出格式有什么问题。参考代码:#include<stdio.h>int n,m,a,b,c;void fun1(){ for(n=999;…… 题解列表 2022年01月27日 0 点赞 0 评论 320 浏览 评分:0.0
C语言训练-阿姆斯特朗数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main(){ int a,b,c,d,e; for(a=2;a<1000;a+…… 题解列表 2021年11月12日 0 点赞 0 评论 445 浏览 评分:9.9
编写题解 1156: C语言训练-阿姆斯特朗数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,x,y,result; for(i=2;i<=1000;i++)//for循环遍历大…… 题解列表 2021年08月03日 0 点赞 0 评论 192 浏览 评分:0.0