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 listNov 29, 2024 22:04E SequeiraE SequeiraScore: 9,409Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 22:049,303754,232,353446,257,00083,989,000266,481,664
2Nov 29, 2024 22:049,409783,086,510444,927,00091,395,000265,093,120
3Nov 29, 2024 22:049,420781,179,803441,880,00095,049,000266,293,248