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:55Yuriy LyfenkoYuriy LyfenkoScore: 4,544Success
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:554,5381,103,968,152189,543,00069,104,000266,178,560
2Oct 18, 2024 19:554,5441,108,425,838191,542,00067,486,000264,921,088
3Oct 18, 2024 19:554,5721,130,908,570193,977,00066,648,000264,044,544