题解 1670: 拆分位数

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

简单的方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i,g,s,b;    scanf("%d",&i);    b=i/100%10;    s=i……

拆分位数 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b,c,n;    scanf("%d",&n);    a=n/100;    b=(n-a……

无聊的星期六

摘要:--------------------------------------------------print(&#39; &#39;.join(input()[::-1]))------------……

拆分位数 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,s; printf("请输入一个三位数:"); scanf("%d",&s); a=s/10……

”拆分位数”题解(不正经的解法)

摘要:解题思路:输入的数可以看做一个字符类型的数组,而逆序输出就是数组元素遍历,拆分只需在其中添加空格即可注意事项:参考代码:#include<iostream>#include<cstdio>using ……

1670: 拆分位数

摘要:#include<stdio.h> int main() {          //scanf("%d",&n);     char a,b,c;     a=getchar();   ……

拆分位数 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d",&a);     b=a/100;     c=a/10-b*1……