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 listJan 18, 2025 20:53Alexander FrolovAlexander FrolovScore: 4,575Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2025 20:534,570284,279,681238,548,00021,958,000250,245,120
2Jan 18, 2025 20:534,575281,227,201240,770,00019,980,000250,236,928
3Jan 18, 2025 20:534,575290,049,140240,804,00019,983,000250,032,128