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 listFeb 19, 2025 00:51Ian MckibbenIan MckibbenScore: 20,346Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2025 00:5120,3331,185,180,5861,140,016,00018,983,000250,310,656
2Feb 19, 2025 00:5120,3461,185,606,0051,139,752,00019,995,000250,187,776
3Feb 19, 2025 00:5120,4011,188,519,8071,150,869,00011,988,000250,273,792