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 12:53Alexander FrolovAlexander FrolovScore: 6,149Success
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 12:535,416599,123,493308,728,3900265,441,280
2Dec 31, 2023 12:535,508622,730,507313,975,6560264,302,592
3Dec 31, 2023 12:535,536554,865,538241,814,00073,723,000267,952,128
4Dec 31, 2023 12:535,537646,998,707315,616,1390266,178,560
5Dec 31, 2023 12:535,544539,622,733246,330,00069,659,000267,849,728
6Dec 31, 2023 12:535,644566,664,408248,694,00073,029,000267,845,632
7Dec 31, 2023 12:536,149587,967,172252,046,00098,455,000267,857,920
8Dec 31, 2023 12:536,629633,587,876262,714,000115,122,000267,681,792
9Dec 31, 2023 12:536,661622,600,832265,574,000114,106,000267,636,736
10Dec 31, 2023 12:536,737615,438,474275,155,000108,852,000267,603,968
11Dec 31, 2023 12:536,805638,454,597266,504,000121,407,000267,632,640
12Dec 31, 2023 12:537,253645,543,911285,306,000128,137,000267,378,688