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 listFeb 8, 2023 18:35Mikhail ShirokovMikhail ShirokovScore: 427,745Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 8, 2023 18:35426,49524,710,552,31624,310,220,3520267,988,992
2Feb 8, 2023 18:35427,74524,836,632,95424,381,442,1030264,359,936
3Feb 8, 2023 18:35434,04725,169,165,83424,740,703,1990267,460,608