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:20Alexander FrolovAlexander FrolovScore: 6,274Success
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:206,092656,298,652347,221,2650266,854,400
2Dec 29, 2023 16:206,156651,565,255350,881,0490267,468,800
3Dec 29, 2023 16:206,165677,617,134351,390,2370264,421,376
4Dec 29, 2023 16:206,215578,728,170287,227,00067,053,000267,546,624
5Dec 29, 2023 16:206,241590,451,647291,234,00064,494,000267,431,936
6Dec 29, 2023 16:206,258596,750,933288,745,00067,940,000267,558,912
7Dec 29, 2023 16:206,274603,331,501285,685,00071,920,000267,595,776
8Dec 29, 2023 16:206,274599,980,939289,954,00067,689,000267,399,168
9Dec 29, 2023 16:206,285594,315,372286,987,00071,245,000267,358,208
10Dec 29, 2023 16:206,747616,174,978288,432,00096,144,000267,288,576
11Dec 29, 2023 16:207,047633,184,861297,983,000103,690,000267,128,832
12Dec 29, 2023 16:207,295655,292,264302,762,000113,031,000267,112,448