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 12, 2023 14:10Vadim AlekseevVadim AlekseevScore: 15,695Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2023 14:1015,6782,545,743,656893,654,6950256,892,928
2Dec 12, 2023 14:1015,6952,497,055,199894,607,4340256,663,552
3Dec 12, 2023 14:1015,6962,327,051,818894,650,7070255,815,680