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 6, 2023 14:22Mohamed A.MMohamed A.MScore: 408,424Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 14:22406,59523,548,618,22923,175,934,8550265,469,952
2Dec 6, 2023 14:22408,42423,615,303,69123,280,143,8960266,096,640
3Dec 6, 2023 14:22408,47023,616,611,83623,282,803,2790268,017,664