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:36Kenneth MaplesKenneth MaplesScore: 5,259Success
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:365,192530,350,270228,341,00067,580,000268,070,912
2Dec 21, 2023 23:365,201535,306,563219,403,00077,035,000268,165,120
3Dec 21, 2023 23:365,226541,013,705229,457,00068,434,000268,034,048
4Dec 21, 2023 23:365,239538,556,334232,487,00066,138,000268,038,144
5Dec 21, 2023 23:365,251538,331,136229,621,00069,706,000268,001,280
6Dec 21, 2023 23:365,251546,940,376231,119,00068,215,000268,079,104
7Dec 21, 2023 23:365,259553,129,694230,824,00068,947,000268,066,816
8Dec 21, 2023 23:365,283548,321,808229,314,00071,845,000268,124,160
9Dec 21, 2023 23:365,4281,208,057,604309,368,6950267,919,360
10Dec 21, 2023 23:365,5951,372,482,785318,888,3610267,698,176
11Dec 21, 2023 23:365,6011,353,141,489319,237,6120267,689,984
12Dec 21, 2023 23:366,273594,609,428245,702,000111,864,000268,079,104