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 27, 2023 06:32Simon ThorningtonSimon ThorningtonScore: 8,883Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 27, 2023 06:328,883996,561,171506,313,8900267,501,568
2Dec 27, 2023 06:328,8831,000,926,373506,325,1060266,993,664
3Dec 27, 2023 06:328,9401,070,344,360509,587,1040267,751,424