git.sophuwu.com > quickstat
fixed bug where 0 would not be printed
parent

9631e69507909ef25850f54bd0991b5000c8a1a3

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M main.gomain.go

@@ -200,6 +200,9 @@ }

} n = int(f) + n + if n == 0 { + return "0" + } for n > 0 { s = string(n%10+48) + s n /= 10