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, 2023 01:59Simon ThorningtonSimon ThorningtonScore: 9,542Success
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, 2023 01:599,4931,087,601,760541,092,7440266,571,776
2Dec 27, 2023 01:599,5421,178,782,050543,886,6790266,149,888
3Dec 27, 2023 01:599,5671,088,801,980545,339,6390266,444,800