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 22, 2023 17:37Alexander FrolovAlexander FrolovScore: 15,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 17:3715,4402,797,697,350880,105,8990146,300,928
2Dec 22, 2023 17:3715,7633,087,769,846898,482,2000134,385,664
3Dec 22, 2023 17:3717,6264,434,827,0791,004,669,4100120,414,208