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 19:11Alexander FrolovAlexander FrolovScore: 6,844Success
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 19:115,985645,921,170341,117,6870266,706,944
2Dec 30, 2023 19:116,016627,067,693342,898,2390266,252,288
3Dec 30, 2023 19:116,129675,186,017349,349,6750266,362,880
4Dec 30, 2023 19:116,452625,330,770282,195,00085,575,000267,845,632
5Dec 30, 2023 19:116,531622,705,250286,353,00085,905,000267,886,592
6Dec 30, 2023 19:116,821621,477,256279,733,000109,065,000267,649,024
7Dec 30, 2023 19:116,844629,633,911293,309,00096,782,000267,534,336
8Dec 30, 2023 19:116,895626,837,437295,002,00097,997,000267,526,144
9Dec 30, 2023 19:117,446672,133,793290,963,000133,441,000267,493,376
10Dec 30, 2023 19:117,567680,185,991300,382,000130,910,000267,300,864
11Dec 30, 2023 19:117,655692,682,532299,100,000137,258,000267,358,208
12Dec 30, 2023 19:117,819695,456,680291,433,000154,229,000267,395,072