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 30, 2023 21:13Alexander FrolovAlexander FrolovScore: 6,313Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 21:135,250576,874,006299,231,8950265,428,992
2Dec 30, 2023 21:135,259584,822,931299,739,4770267,485,184
3Dec 30, 2023 21:135,292600,321,345301,640,1660266,989,568
4Dec 30, 2023 21:135,415555,093,601239,969,00068,704,000267,800,576
5Dec 30, 2023 21:135,594555,323,625242,897,00075,968,000267,808,768
6Dec 30, 2023 21:135,682570,506,572241,128,00082,760,000267,837,440
7Dec 30, 2023 21:136,313594,608,974252,484,000107,355,000267,698,176
8Dec 30, 2023 21:136,587634,244,164243,898,000131,563,000267,718,656
9Dec 30, 2023 21:136,906648,573,381266,531,000127,114,000267,522,048
10Dec 30, 2023 21:136,913634,004,229263,029,000131,018,000267,386,880
11Dec 30, 2023 21:136,976651,972,777260,620,000137,006,000267,358,208
12Dec 30, 2023 21:137,011642,558,941264,714,000134,893,000267,395,072