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:57Yuriy LyfenkoYuriy LyfenkoScore: 4,601Success
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:574,5641,102,828,978199,421,00060,737,000264,962,048
2Oct 18, 2024 19:574,6011,113,129,593193,174,00069,062,000261,648,384
3Oct 18, 2024 19:574,6391,117,132,323193,835,00070,576,000262,656,000