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 22, 2024 22:15Yuriy LyfenkoYuriy LyfenkoScore: 4,615Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 22:154,5361,164,554,896258,574,0490264,318,976
2Jan 22, 2024 22:154,5451,159,292,742259,070,7720264,171,520
3Jan 22, 2024 22:154,5621,164,511,195260,034,8850265,199,616
4Jan 22, 2024 22:154,5731,107,181,774194,009,00066,659,000265,113,600
5Jan 22, 2024 22:154,5821,118,278,546203,464,00057,683,000264,826,880
6Jan 22, 2024 22:154,5961,117,041,299195,242,00066,740,000266,125,312
7Jan 22, 2024 22:154,6151,112,332,343198,800,00064,227,000264,581,120
8Jan 22, 2024 22:154,6351,111,767,815199,163,00065,033,000265,330,688
9Jan 22, 2024 22:154,6431,127,836,601197,719,00066,920,000263,897,088
10Jan 22, 2024 22:154,6561,127,923,583191,925,00073,440,000262,336,512
11Jan 22, 2024 22:154,6621,136,099,833196,563,00069,198,000262,520,832
12Jan 22, 2024 22:154,6661,125,279,851198,440,00067,510,000262,983,680