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:31Franek KortaFranek KortaScore: 27,262Success
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:3227,1762,055,999,0771,549,050,7170267,825,152
2Nov 21, 2023 12:3127,2371,900,181,5271,552,531,8390265,023,488
3Nov 21, 2023 12:3227,2422,652,809,8941,552,818,9700267,968,512
4Nov 21, 2023 12:3227,2622,130,779,2491,553,921,4840267,436,032
5Nov 21, 2023 12:3127,4572,876,655,6641,565,071,8660267,997,184
6Nov 21, 2023 12:3127,4912,842,902,1091,566,983,5920267,997,184