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 listMay 12, 2024 21:51Franek KortaFranek KortaScore: 23,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 21:5123,5771,647,874,6051,343,883,5610265,711,616
2May 12, 2024 21:5123,5871,644,158,3131,344,480,7560267,214,848
3May 12, 2024 21:5123,7171,632,921,4631,351,861,7910267,206,656