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:11Alexander FrolovAlexander FrolovScore: 13,056Success
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:1113,0291,106,684,101742,673,6310260,603,904
2Dec 21, 2023 20:1113,0561,143,818,164744,213,2510261,398,528
3Dec 21, 2023 20:1113,0791,202,974,340745,526,4180261,001,216