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 listFeb 19, 2025 00:57Ian MckibbenIan MckibbenScore: 8,568Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2025 00:578,566513,789,486467,231,00021,010,000250,322,944
2Feb 19, 2025 00:578,566509,902,140466,301,00021,967,000250,298,368
3Feb 19, 2025 00:578,567514,955,436470,352,00017,975,000250,175,488
4Feb 19, 2025 00:578,568519,437,673467,398,00020,973,000250,327,040
5Feb 19, 2025 00:578,568515,115,406468,422,00019,975,000250,310,656
6Feb 19, 2025 00:578,572514,931,485466,604,00021,981,000250,310,656
7Feb 19, 2025 00:578,572510,959,858465,621,00022,981,000250,294,272
8Feb 19, 2025 00:578,574511,225,185468,707,00019,987,000250,322,944
9Feb 19, 2025 00:578,578520,848,099466,943,00021,997,000250,085,376