题解 1866: 三位数反转

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

筛选

三位数反转 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){   int a,b,c,n;  ……

三位数反转 (C语言代码)

摘要:解题思路:                输入三位数,分离出它的百位、十位和个位,反转后输出注意事项:                1.有多组输入数据  &nbs

三位数反转 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i,j,k,n;    while(scanf("%d",&n)!=EOF)    {    w……

三位数反转

摘要:解题思路:注意事项:参考代码: #includeint main(){    int a;    while(scanf("%d\n",&a)!=EOF){    int o,p,q;    o=a/……

三位数反转

摘要:解题思路:注意事项:注意单个打印,不要求和后打印参考代码:#include<stdio.h>int main(){    int a,ge,shi,bai,sum;    while(scanf("%……

1866: 三位数反转

摘要:直接用 reverse 函数反转。#include <bits/stdc++.h> using namespace std; int main(){     string s;     w……