Super_Rong @ 2021-11-22 19:09:38
#include<stdio.h>
int main(void)
{
long N;
long t,T;
int m;
scanf("%ld", &N);
m = 1;
if (N < 0)
{
N = -N;
m = 0;
}
t = N % 10;
T = N / 10;
if (m == 0)
printf("-");
while (T != 0)
{
if (t != 0)
printf("%ld", t);
t = T % 10;
T = T / 10;
}
printf("%ld\n", t);
return 0;
}
by 奥斯卡小冰人 @ 2021-11-22 19:17:21
10001,你测一下。