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 15, 2023 11:39Vadim AlekseevVadim AlekseevScore: 9,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 15, 2023 11:399,5961,067,030,943546,973,2560261,586,944
2Dec 15, 2023 11:399,6941,139,394,103552,562,1800262,037,504
3Dec 15, 2023 11:399,7141,073,720,342553,684,2850262,811,648