chenth @ 2021-11-17 18:38:30
第八个WA是哪里错了
by int64 @ 2021-11-17 18:39:07
不发代码我们怎么帮您调?
by Ender_NaCl @ 2021-11-17 18:39:16
@chenth 您倒是发代码啊
by chenth @ 2021-11-17 18:42:28
n = int(input()) if n >= 0: while n <= 1000000000: if n==0: print(0) elif n % 10 != 0: n = str(n) print(n[::-1]) break else: n = n // 10 if n % 10 != 0: print(str(n)[::-1]) break else: while n >= -1000000000: if n >= -10: n = n - (2 n) print('-'+str(n)[::-1]) else: n = n // 10 if n % 10 != 0: n = n - (2 n) print('-' + str(n)[::-1]) break
by wweiyi @ 2021-11-17 18:52:15
啊这,这是什么代码
by Inkyo @ 2021-11-17 18:52:26
又一个不读手册的
by 蒟蒻思翔 @ 2021-11-17 18:54:52
阳间代码
by Iam1789 @ 2021-11-17 18:55:40
望丰展使MD
by rouxQ @ 2021-11-17 18:55:57
又一个不读手册的
by BurningEnderDragon @ 2021-11-17 18:56:34
@chenth 请阅读洛谷新用户必读
by yyhh @ 2021-12-22 12:16:17
最后一个测试点怎么过