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 8, 2023 19:22gchebanovgchebanovScore: 8,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 19:228,3352,009,391,459475,072,4110208,470,016
2Jul 8, 2023 19:228,4002,272,263,138478,822,9310209,133,568
3Jul 8, 2023 19:228,4212,073,423,102479,975,6390208,355,328