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 16, 2024 18:37Joad NacerJoad NacerScore: 14,099Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2024 18:3713,5843,176,922,634339,295,000434,994,000250,118,144
2Dec 16, 2024 18:3714,0993,274,336,833337,049,000466,599,000250,056,704
3Dec 16, 2024 18:3714,1383,332,581,223313,146,000492,698,000250,048,512