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 24, 2023 12:41Alexander FrolovAlexander FrolovScore: 20,786Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 24, 2023 12:4120,6315,766,288,2821,175,939,5860134,930,432
2Dec 24, 2023 12:4120,7865,878,605,5511,184,819,4930135,012,352
3Dec 24, 2023 12:4120,9916,208,181,8521,196,491,2950135,004,160