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 listApr 29, 2024 22:48Joad NacerJoad NacerScore: 9,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2024 22:489,2961,045,825,809529,858,8850267,788,288
2Apr 29, 2024 22:489,2991,051,538,093530,045,3700267,722,752
3Apr 29, 2024 22:489,4121,094,223,270536,500,3740267,710,464