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:19Yuriy LyfenkoYuriy LyfenkoScore: 4,455Success
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:194,4361,106,839,513190,659,00062,215,000266,137,600
2Oct 18, 2024 19:194,4551,108,178,636195,659,00058,281,000266,178,560
3Oct 18, 2024 19:194,5071,119,761,056192,683,00064,227,000265,347,072