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:11Alexander FrolovAlexander FrolovScore: 6,296Success
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:116,139960,976,181349,948,3110267,427,840
2Dec 29, 2023 16:116,183878,607,763352,410,5290266,027,008
3Dec 29, 2023 16:116,184708,401,798352,494,0120265,584,640
4Dec 29, 2023 16:116,239600,668,203287,290,00068,306,000267,882,496
5Dec 29, 2023 16:116,240584,462,931286,168,00069,526,000267,816,960
6Dec 29, 2023 16:116,296605,674,724272,576,00086,283,000267,894,784
7Dec 29, 2023 16:116,296612,325,261277,908,00080,973,000267,804,672
8Dec 29, 2023 16:116,312618,776,609284,635,00075,167,000267,878,400
9Dec 29, 2023 16:116,326611,986,425285,291,00075,285,000267,788,288
10Dec 29, 2023 16:116,911620,939,490302,330,00091,615,000267,718,656
11Dec 29, 2023 16:117,147699,693,795285,347,000122,010,000267,649,024
12Dec 29, 2023 16:117,159666,943,594297,571,000110,469,000267,608,064