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:37Ian MckibbenIan MckibbenScore: 8,666Success
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:378,661516,631,848472,674,00020,985,000250,335,232
2Feb 19, 2025 00:378,664515,618,268471,852,00021,993,000250,212,352
3Feb 19, 2025 00:378,664515,822,486473,860,00019,994,000250,306,560
4Feb 19, 2025 00:378,665522,386,020471,892,00021,994,000250,290,176
5Feb 19, 2025 00:378,666519,073,319473,980,00019,999,000250,167,296
6Feb 19, 2025 00:378,667519,277,055476,010,00018,000,000250,052,608
7Feb 19, 2025 00:378,670516,670,316474,163,00020,006,000250,302,464
8Feb 19, 2025 00:378,671520,437,307475,254,00018,970,000250,191,872
9Feb 19, 2025 00:378,676525,043,564471,573,00022,979,000250,216,448