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 17:47Alexander FrolovAlexander FrolovScore: 5,369Success
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 17:475,181592,210,016295,323,0850267,530,240
2Dec 30, 2023 17:475,183579,137,420295,427,9730265,101,312
3Dec 30, 2023 17:475,215598,963,930297,278,6820267,239,424
4Dec 30, 2023 17:475,309530,920,717235,352,00067,243,000267,960,320
5Dec 30, 2023 17:475,314539,486,487228,922,00073,975,000267,997,184
6Dec 30, 2023 17:475,324542,032,348226,601,00076,847,000267,796,480
7Dec 30, 2023 17:475,369538,559,364233,315,00072,721,000267,968,512
8Dec 30, 2023 17:475,962584,776,172242,017,00097,794,000267,620,352
9Dec 30, 2023 17:476,470616,703,544247,890,000120,922,000267,567,104
10Dec 30, 2023 17:476,642622,383,424259,346,000119,239,000267,485,184
11Dec 30, 2023 17:476,818642,803,807261,760,000126,853,000267,509,760
12Dec 30, 2023 17:476,889631,135,745252,164,000140,534,000267,415,552