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 29, 2023 15:57Yuriy LyfenkoYuriy LyfenkoScore: 5,138Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 15:575,0171,128,458,264206,421,00079,547,000266,993,664
2Dec 29, 2023 15:575,0441,137,490,158167,630,000119,875,000266,883,072
3Dec 29, 2023 15:575,0521,143,884,170217,474,00070,477,000266,784,768
4Dec 29, 2023 15:575,0551,132,616,112203,954,00084,155,000266,674,176
5Dec 29, 2023 15:575,0741,155,931,202205,323,00083,906,000266,084,352
6Dec 29, 2023 15:575,0841,152,646,115199,870,00089,941,000266,964,992
7Dec 29, 2023 15:575,1381,151,249,983179,931,000112,956,000266,825,728
8Dec 29, 2023 15:575,1911,187,762,119200,645,00095,255,000266,883,072
9Dec 29, 2023 15:575,2081,147,107,393199,949,00096,882,000266,952,704
10Dec 29, 2023 15:575,2221,481,993,725297,665,5670264,794,112
11Dec 29, 2023 15:575,2511,547,906,802299,304,3610265,949,184
12Dec 29, 2023 15:575,3161,303,618,884303,024,1900264,413,184