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 31, 2023 13:56Alexander FrolovAlexander FrolovScore: 6,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 13:565,649608,774,732322,004,8160265,314,304
2Dec 31, 2023 13:565,684626,128,791324,014,6950266,088,448
3Dec 31, 2023 13:565,686618,221,461324,114,5730266,022,912
4Dec 31, 2023 13:565,795562,939,482265,465,00064,823,000267,849,728
5Dec 31, 2023 13:565,800569,147,857264,286,00066,322,000267,849,728
6Dec 31, 2023 13:565,861584,748,643262,488,00071,587,000267,833,344
7Dec 31, 2023 13:566,453594,633,189272,822,00094,982,000267,575,296
8Dec 31, 2023 13:566,634612,901,654276,691,000101,453,000267,567,104
9Dec 31, 2023 13:566,893638,448,150286,284,000106,595,000267,689,984
10Dec 31, 2023 13:566,898640,165,992275,022,000118,157,000267,612,160
11Dec 31, 2023 13:566,927639,707,756274,580,000120,254,000267,456,512
12Dec 31, 2023 13:567,369782,708,295283,709,000136,301,000267,415,552