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 listAug 22, 2024 23:25Andrey LikhachevAndrey LikhachevScore: 18,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2024 23:2518,7051,576,460,0281,066,200,2090260,665,344
2Aug 22, 2024 23:2518,7151,599,774,8851,066,756,7150260,636,672
3Aug 22, 2024 23:2518,8051,588,210,3521,071,897,8010260,665,344