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 15:11Alexander FrolovAlexander FrolovScore: 6,246Success
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 15:116,033622,940,094343,856,1600266,235,904
2Dec 29, 2023 15:116,077641,778,523346,414,4900267,534,336
3Dec 29, 2023 15:116,088657,444,220346,988,1460267,436,032
4Dec 29, 2023 15:116,176594,845,925265,260,00086,776,000267,833,344
5Dec 29, 2023 15:116,187587,201,275273,979,00078,706,000267,915,264
6Dec 29, 2023 15:116,205598,285,080264,997,00088,660,000267,784,192
7Dec 29, 2023 15:116,246605,131,095284,805,00071,201,000267,948,032
8Dec 29, 2023 15:116,259598,245,333286,002,00070,742,000267,804,672
9Dec 29, 2023 15:116,273604,683,065279,469,00078,087,000267,927,552
10Dec 29, 2023 15:116,873635,238,411303,278,00088,497,000267,755,520
11Dec 29, 2023 15:117,282662,382,556290,245,000124,815,000267,612,160
12Dec 29, 2023 15:117,352652,893,725300,056,000119,005,000267,657,216