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 16:14Yuriy LyfenkoYuriy LyfenkoScore: 5,372Success
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 16:145,1411,217,883,655293,057,6670265,158,656
2Dec 29, 2023 16:145,1841,541,247,092295,478,8300264,679,424
3Dec 29, 2023 16:145,3551,157,130,695210,390,00094,823,000266,907,648
4Dec 29, 2023 16:145,3561,159,179,639212,496,00092,780,000266,776,576
5Dec 29, 2023 16:145,3571,451,314,173305,374,8480266,936,320
6Dec 29, 2023 16:145,3601,154,206,452217,194,00088,298,000266,919,936
7Dec 29, 2023 16:145,3721,151,305,104222,241,00083,980,000266,792,960
8Dec 29, 2023 16:145,3791,163,083,181214,919,00091,671,000266,129,408
9Dec 29, 2023 16:145,3791,158,055,162215,656,00090,964,000266,760,192
10Dec 29, 2023 16:145,4081,148,247,839211,816,00096,460,000266,969,088
11Dec 29, 2023 16:145,4281,159,710,883217,071,00092,306,000266,932,224
12Dec 29, 2023 16:145,5021,168,282,262212,739,000100,876,000266,772,480