Fizz Buzz Sergey Svistunov

Perform FizzBuzz on a stream of binary integers as fast as possible.

Input: 30 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).

Output: For each number n, print one line:

  • FizzBuzz if n is divisible by both 3 and 5
  • Fizz if n is divisible by 3
  • Buzz if n is divisible by 5
  • n as a decimal string otherwise
Back to listDec 21, 2023 20:33Alexander FrolovAlexander FrolovError
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 20:3300000Error: Exit with code 2: runtime: program exceeds 1-thread limit fatal error: thread exhaustion goroutine 1 [running]: runtime.throw({0x5576962d7c6b?, 0x557696299d50?}) /tmp/go1.21.5/go/src/runtime/panic.go:1077 +0x5c fp=0xc00002a628 sp=0xc00002a5f8 ...stderr