@[qilingwu](/space/show?uid=88855)
-5290000%10=-0
by WA鸭鸭 @ 2018-10-03 09:32:54
@[qilingwu](/space/show?uid=88855) 其实是您去零只去了一次
by WA鸭鸭 @ 2018-10-03 09:33:38
@[WA鸭鸭](/space/show?uid=93249)
负数处理过了,变成了5290000
然后应该是可以取零的呀
by qilingwu @ 2018-10-03 09:33:51
@[qilingwu](/space/show?uid=88855) 用while(n%10==0)n/=10;
by WA鸭鸭 @ 2018-10-03 09:34:11
@[WA鸭鸭](/space/show?uid=93249) 蟹蟹大佬,确实是这样我写成if了orz
by qilingwu @ 2018-10-03 09:34:23
@[qilingwu](/space/show?uid=88855) 我刚刚只是玩浮点数的梗
by WA鸭鸭 @ 2018-10-03 09:34:51
@[qilingwu](/space/show?uid=88855) 不用写
by WA鸭鸭 @ 2018-10-03 09:35:08
不用谢
by WA鸭鸭 @ 2018-10-03 09:40:19
if
by 朱翘楚 @ 2019-07-24 14:25:02