5-3 逆序的三位数
摘要:
程序每次读入一个正3位数,然后输出按位逆序的数字。注意:当输入的数字含有结尾的0时,输出不应带有前导的0。比如输入700,输出应该是7。 每个测试是一个3位的正整数。 输出按位逆序的数。 #include<iostream>using namespace std;int main(){ int a, 阅读全文
posted @ 2016-03-08 23:18 无名小卒升级中 阅读(519) 评论(0) 推荐(0) 编辑