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 17, 2024 00:03Mikhail ShirokovMikhail ShirokovScore: 27,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2024 00:0327,2671,581,807,5971,509,268,00044,978,000251,846,656
2Dec 17, 2024 00:0327,6431,603,801,1211,528,714,00046,960,000252,096,512
3Dec 17, 2024 00:0329,9481,735,235,3701,662,050,00044,974,000251,830,272