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 21, 2025 07:41Ian MckibbenIan MckibbenScore: 22,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2025 07:4122,2713,415,051,763528,854,000740,595,000107,278,336
2Jan 21, 2025 07:4122,3044,353,379,294536,243,000735,109,000107,261,952
3Jan 21, 2025 07:4123,4374,176,667,487554,595,000781,297,000106,373,120