sujiuli @ 2023-09-20 13:53:02
by cute_overmind @ 2023-09-20 13:55:06
#include <iostream>
using namespace std;
int main()
{
int numa , numb;
cin >> numa;
while(numa != 0)
{
numb = numb * 10 + numa % 10;
numa /= 10;
}
cout << numb;
return 0;
}
有帮助请关注谢谢
by sujiuli @ 2023-09-23 09:47:24
谢谢大佬