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 listJan 6, 2024 21:41Alexander FrolovAlexander FrolovScore: 5,151Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2024 21:414,982563,414,940283,978,9200265,736,192
2Jan 6, 2024 21:415,001579,052,200285,054,7930267,624,448
3Jan 6, 2024 21:415,020580,840,701286,141,3830265,187,328
4Jan 6, 2024 21:415,106519,080,373221,763,00069,301,000267,816,960
5Jan 6, 2024 21:415,116533,520,260212,622,00078,974,000267,677,696
6Jan 6, 2024 21:415,150526,173,365234,053,00059,488,000267,902,976
7Jan 6, 2024 21:415,151542,767,796217,194,00076,420,000267,763,712
8Jan 6, 2024 21:415,154527,463,065226,383,00067,412,000267,943,936
9Jan 6, 2024 21:415,162535,288,324232,518,00061,730,000267,935,744
10Jan 6, 2024 21:415,172536,109,041224,095,00070,714,000267,804,672
11Jan 6, 2024 21:415,186543,296,127218,266,00077,322,000267,853,824
12Jan 6, 2024 21:415,193557,919,373236,195,00059,822,000267,870,208