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:28Alexander FrolovAlexander FrolovScore: 5,981Success
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:285,504616,258,529313,737,1110265,236,480
2Dec 30, 2023 21:285,521620,632,795314,717,7700266,743,808
3Dec 30, 2023 21:285,585608,362,026318,359,8440267,419,648
4Dec 30, 2023 21:285,679566,093,849256,985,00066,736,000267,550,720
5Dec 30, 2023 21:285,703562,478,432262,144,00062,955,000267,915,264
6Dec 30, 2023 21:285,897585,978,589254,605,00081,513,000267,943,936
7Dec 30, 2023 21:285,981583,897,476253,410,00087,486,000267,841,536
8Dec 30, 2023 21:286,297593,379,908262,341,00096,598,000267,784,192
9Dec 30, 2023 21:286,498611,620,596268,828,000101,580,000267,780,096
10Dec 30, 2023 21:286,613622,035,979261,728,000115,200,000267,505,664
11Dec 30, 2023 21:286,658611,260,994260,343,000119,157,000267,386,880
12Dec 30, 2023 21:287,074626,963,809276,844,000126,385,000267,612,160