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 listJul 16, 2024 12:41Nadiminty KaundinyaNadiminty KaundinyaScore: 429,511Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2024 12:41429,01424,750,128,56024,453,821,7670265,961,472
2Jul 16, 2024 12:41429,51124,789,951,22824,482,116,4750264,622,080
3Jul 16, 2024 12:41430,70724,843,387,25324,550,300,5870267,726,848