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:36Yuriy LyfenkoYuriy LyfenkoScore: 4,896Success
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:404,8011,129,967,358183,443,00090,201,000266,928,128
2Dec 29, 2023 16:364,8091,119,211,156177,557,00096,583,000266,960,896
3Dec 29, 2023 16:404,8241,133,393,360178,136,00096,813,000266,952,704
4Dec 29, 2023 16:404,8311,136,382,096185,943,00089,415,000266,895,360
5Dec 29, 2023 16:404,8421,133,954,355191,158,00084,845,000266,768,384
6Dec 29, 2023 16:364,8431,136,945,030186,378,00089,700,000266,817,536
7Dec 29, 2023 16:364,8471,128,931,724181,840,00094,436,000266,817,536
8Dec 29, 2023 16:404,8471,125,860,797191,104,00085,165,000266,162,176
9Dec 29, 2023 16:404,8501,131,257,204184,635,00091,807,000266,948,608
10Dec 29, 2023 16:364,8521,148,092,524186,786,00089,781,000266,182,656
11Dec 29, 2023 16:364,8531,118,761,672187,480,00089,130,000266,842,112
12Dec 29, 2023 16:364,8561,139,790,267189,912,00086,874,000266,780,672
13Dec 29, 2023 16:364,8961,126,687,451174,425,000104,655,000266,964,992
14Dec 29, 2023 16:364,8971,124,975,452180,385,00098,758,000266,960,896
15Dec 29, 2023 16:404,9021,131,597,736188,635,00090,787,000266,768,384
16Dec 29, 2023 16:404,9041,139,154,724192,869,00086,636,000266,743,808
17Dec 29, 2023 16:404,9181,135,532,718196,711,00083,602,000266,870,784
18Dec 29, 2023 16:364,9311,131,555,960175,535,000105,518,000266,891,264
19Dec 29, 2023 16:405,0131,187,804,346285,750,0130265,662,464
20Dec 29, 2023 16:365,0211,182,841,710286,168,5980264,925,184
21Dec 29, 2023 16:365,0291,190,825,297286,680,4360265,916,416
22Dec 29, 2023 16:365,0391,167,501,457287,247,6380266,485,760
23Dec 29, 2023 16:405,0601,193,937,083288,428,1690263,241,728
24Dec 29, 2023 16:405,1031,182,444,966290,860,6580264,224,768