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 20:44Alexander FrolovAlexander FrolovScore: 13,215Success
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 20:4413,1971,080,851,490752,229,2350261,754,880
2Dec 21, 2023 20:4413,2151,194,470,515753,247,9730262,139,904
3Dec 21, 2023 20:4413,2181,169,806,017753,429,3000261,980,160