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 18:40Alexander FrolovAlexander FrolovScore: 5,739Success
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 18:405,515601,352,705314,350,0630266,207,232
2Dec 30, 2023 18:405,541596,529,712315,820,7270266,465,280
3Dec 30, 2023 18:405,546606,371,181316,127,4180264,294,400
4Dec 30, 2023 18:405,625553,673,897271,125,00049,482,000267,984,896
5Dec 30, 2023 18:405,656558,374,306258,724,00063,670,000267,931,648
6Dec 30, 2023 18:405,699561,079,196247,166,00077,680,000267,984,896
7Dec 30, 2023 18:405,739576,782,194253,521,00073,603,000267,943,936
8Dec 30, 2023 18:406,108583,632,321259,640,00088,536,000267,563,008
9Dec 30, 2023 18:406,495609,860,200267,928,000102,262,000267,702,272
10Dec 30, 2023 18:406,704624,355,483251,743,000130,384,000267,620,352
11Dec 30, 2023 18:406,950643,131,420267,450,000128,698,000267,644,928
12Dec 30, 2023 18:407,079640,300,029265,969,000137,535,000267,354,112