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 listJun 2, 2024 13:41Joad NacerJoad NacerScore: 9,370Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 13:418,9011,547,076,981507,368,4800267,628,544
2Jun 2, 2024 13:419,3701,535,023,199534,080,5500267,628,544
3Jun 2, 2024 13:4110,9832,564,820,670626,032,9740267,857,920