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 30, 2023 22:50Alexander FrolovAlexander FrolovScore: 6,108Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 22:505,230587,570,464298,115,0510267,010,048
2Dec 30, 2023 22:505,315610,059,117302,980,9250265,216,000
3Dec 30, 2023 22:505,368625,244,306305,976,8450265,371,648
4Dec 30, 2023 22:505,470563,559,300231,858,00079,917,000267,821,056
5Dec 30, 2023 22:505,484557,293,824229,511,00083,098,000267,915,264
6Dec 30, 2023 22:505,927576,343,805235,369,000102,466,000267,698,176
7Dec 30, 2023 22:506,108594,196,372240,740,000107,438,000267,788,288
8Dec 30, 2023 22:506,181587,998,094233,914,000118,412,000267,612,160
9Dec 30, 2023 22:506,200604,053,315247,880,000105,502,000267,722,752
10Dec 30, 2023 22:506,899628,216,773265,869,000127,374,000267,382,784
11Dec 30, 2023 22:506,942631,240,572259,814,000135,902,000267,296,768
12Dec 30, 2023 22:506,994648,067,816249,538,000149,126,000267,485,184