C语言训练-"水仙花数"问题1 (C语言代码) 摘要:解题思路:注意括号 可以简写注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(int argc, char** argv) …… 题解列表 2019年04月21日 0 点赞 0 评论 1161 浏览 评分:0.0
P1000 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j; scanf("%d %d",&i,&j); printf("%d\n",i+j); retur…… 题解列表 2019年04月21日 0 点赞 0 评论 975 浏览 评分:0.0
[编程入门]三个字符串的排序 (C语言代码) 摘要:解题思路:逐个输入,比较,输出 超简单注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b[100],c[1…… 题解列表 2019年04月21日 0 点赞 0 评论 1022 浏览 评分:0.0
Minesweeper (C语言代码) 摘要:解题思路:注意两组输出之间的空行囧 。。。。。。注意事项:参考代码:#include<stdio.h>#include<string.h>char a[103][103];int n,m;void s…… 题解列表 2019年04月21日 0 点赞 0 评论 1097 浏览 评分:0.0
【计算球体积】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define PI 3.1415926int main(){ double x,m,sum; while(scanf("%lf",&x…… 题解列表 2019年04月21日 0 点赞 0 评论 679 浏览 评分:0.0
[编程入门]宏定义练习之三角形面积 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define zz(a,b,c) S=(a+b+c)/2#define hh(a,b,c,S) ar…… 题解列表 2019年04月21日 1 点赞 0 评论 1424 浏览 评分:0.0
三位数分解 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,g,s,b; scanf("%d",&x); b=x/100; s=x/10%10; g=x%10;…… 题解列表 2019年04月21日 0 点赞 0 评论 1091 浏览 评分:0.0
C语言训练-亲密数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int sum1,sum2; int A,i,j; for(A=1;…… 题解列表 2019年04月21日 0 点赞 0 评论 780 浏览 评分:0.0
C语言训练-列出最简真分数序列* (C++代码) 摘要:解题思路:注意格式就ok注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ for(int i = 1;i < 4…… 题解列表 2019年04月21日 0 点赞 0 评论 757 浏览 评分:0.0
C语言训练-大、小写问题 (C++代码) 摘要:解题思路:简单的大小写转换注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char str[120]; …… 题解列表 2019年04月21日 0 点赞 0 评论 1272 浏览 评分:0.0