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 21, 2023 23:02Kenneth MaplesKenneth MaplesScore: 5,461Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 23:025,401542,018,177253,612,00054,270,000267,878,400
2Dec 21, 2023 23:025,417540,233,171233,083,00075,702,000268,054,528
3Dec 21, 2023 23:025,420539,921,782237,413,00071,522,000267,960,320
4Dec 21, 2023 23:025,430548,937,986242,769,00066,761,000268,062,720
5Dec 21, 2023 23:025,447564,102,166239,050,00071,417,000268,009,472
6Dec 21, 2023 23:025,448559,257,578230,430,00080,106,000268,070,912
7Dec 21, 2023 23:025,461568,832,266247,173,00064,081,000268,058,624
8Dec 21, 2023 23:025,467559,204,861237,232,00074,386,000267,890,688
9Dec 21, 2023 23:025,468561,345,766242,862,00068,811,000268,070,912
10Dec 21, 2023 23:025,6961,137,420,142324,650,7300266,481,664
11Dec 21, 2023 23:025,7071,148,368,229325,319,7430266,469,376
12Dec 21, 2023 23:025,7131,105,317,570325,667,8510266,326,016