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 31, 2023 13:33Alexander FrolovAlexander FrolovScore: 6,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 13:335,425591,801,055309,244,3750263,888,896
2Dec 31, 2023 13:335,448616,716,847310,513,9110267,579,392
3Dec 31, 2023 13:335,453594,924,846310,818,8110265,379,840
4Dec 31, 2023 13:335,559556,914,686247,336,00069,499,000267,771,904
5Dec 31, 2023 13:335,566551,874,358248,226,00069,063,000267,804,672
6Dec 31, 2023 13:335,629566,383,050255,255,00065,607,000267,980,800
7Dec 31, 2023 13:336,212601,247,416244,690,000109,414,000267,493,376
8Dec 31, 2023 13:336,214590,517,917239,100,000115,122,000267,739,136
9Dec 31, 2023 13:336,498611,911,002264,989,000105,381,000267,534,336
10Dec 31, 2023 13:336,873629,399,783268,538,000123,247,000267,468,800
11Dec 31, 2023 13:336,950644,167,490272,222,000123,922,000267,411,456
12Dec 31, 2023 13:337,088647,160,261267,648,000136,349,000267,546,624