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 listOct 18, 2024 19:38Yuriy LyfenkoYuriy LyfenkoScore: 4,485Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 18, 2024 19:384,4821,114,446,353185,076,00070,409,000264,523,776
2Oct 18, 2024 19:384,4851,102,901,694187,593,00068,039,000264,597,504
3Oct 18, 2024 19:384,5461,121,957,200187,927,00071,214,000263,401,472