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:52Yuriy LyfenkoYuriy LyfenkoScore: 4,480Success
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:524,4391,097,848,108192,029,00061,009,000264,617,984
2Oct 18, 2024 19:524,4801,111,616,503193,290,00062,056,000265,297,920
3Oct 18, 2024 19:524,5071,117,806,828185,359,00071,524,000264,261,632