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 listNov 21, 2023 12:09Franek KortaFranek KortaScore: 27,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 21, 2023 12:5726,7442,081,683,8841,524,418,4940267,685,888
2Nov 21, 2023 12:0926,7542,026,686,7981,524,950,0810266,129,408
3Nov 21, 2023 12:5726,9753,164,914,6301,537,567,6400265,134,080
4Nov 21, 2023 12:0927,1242,803,887,7151,546,049,5200267,997,184
5Nov 21, 2023 12:5727,1482,832,848,0681,547,461,8350267,984,896
6Nov 21, 2023 12:0927,1912,854,537,6241,549,885,4680267,997,184