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 27, 2022 22:59Benjamin YoungBenjamin YoungScore: 514,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2022 22:59513,33729,683,417,96729,260,199,0600266,076,160
2Dec 27, 2022 22:59514,16529,725,457,16229,307,381,8310267,812,864
3Dec 27, 2022 22:59515,54429,795,324,99129,385,993,7430266,424,320