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 25, 2023 03:25Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2023 03:2500000Error: Exit with code 2: 1048576 unexpected fault address 0x55f92b624fe9 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0x55f92b624fe9 pc=0x55f92b6f3b0d] goroutine 1 [running]: runtime.throw({0x55f92b72a29c?, 0x0?}) /tmp/go1...stderr