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 31, 2023 22:05Simon ThorningtonSimon ThorningtonScore: 7,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 22:067,253717,889,160413,412,7080265,998,336
2Dec 31, 2023 22:057,279706,975,800414,890,3460268,083,200
3Dec 31, 2023 22:067,280690,744,522414,965,8410266,907,648
4Dec 31, 2023 22:057,284715,970,813415,178,9600265,187,328
5Dec 31, 2023 22:057,316707,958,423417,001,6880268,005,376
6Dec 31, 2023 22:067,350725,700,384418,960,2270266,063,872