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 12, 2023 14:06Vadim AlekseevVadim AlekseevScore: 15,894Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2023 14:0515,8211,818,542,552901,804,9170256,495,616
2Dec 12, 2023 14:0615,8232,267,156,664901,888,2790257,421,312
3Dec 12, 2023 14:0515,8382,406,839,279902,780,5480256,122,880
4Dec 12, 2023 14:0615,8742,367,598,305904,836,7260256,839,680
5Dec 12, 2023 14:0615,8942,074,290,126905,971,9740256,888,832
6Dec 12, 2023 14:0615,9062,059,312,749906,644,4140256,585,728
7Dec 12, 2023 14:0515,9182,502,888,757907,340,4760256,253,952
8Dec 12, 2023 14:0615,9442,404,074,926908,807,5510256,274,432
9Dec 12, 2023 14:0616,0242,628,600,595913,362,0970256,192,512