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 listDec 10, 2024 04:48Yuriy LyfenkoYuriy LyfenkoError
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:4300000Error: No answer to stdout. Died or killed?stderr
2Dec 10, 2024 04:484,5231,103,287,822190,337,00067,474,000265,084,928
3Oct 18, 2024 19:464,5331,098,912,319194,288,00064,105,000264,654,848
4Oct 18, 2024 19:464,5471,098,065,939196,153,00063,049,000264,716,288
5Oct 18, 2024 19:464,5651,105,710,820196,921,00063,259,000266,362,880
6Dec 10, 2024 04:484,6091,120,145,126196,761,00065,925,000266,305,536
7Dec 10, 2024 04:484,6161,119,668,383202,781,00060,314,000265,904,128