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 13:54Huy Duc LeHuy Duc LeScore: 24,797Success
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 13:5424,7321,978,962,7801,409,711,2150264,671,232
2Feb 18, 2024 13:5424,7972,015,209,0131,413,437,5660264,671,232
3Feb 18, 2024 13:5424,8162,029,224,4261,414,520,8190265,338,880