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 listDec 21, 2023 21:59Alexander FrolovAlexander FrolovScore: 22,394Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 21:5922,2523,986,239,7581,268,369,1140181,215,232
2Dec 21, 2023 21:5922,3943,993,009,4451,276,439,0470180,428,800
3Dec 21, 2023 21:5922,8823,859,098,0331,304,272,3430181,125,120