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 18, 2024 14:38Huy Duc LeHuy Duc LeScore: 24,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2024 14:3824,2611,958,063,7961,382,883,4030267,239,424
2Feb 18, 2024 14:3824,6711,969,200,5001,406,248,5430268,042,240
3Feb 18, 2024 14:3824,7591,954,284,0501,411,282,6440268,029,952