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 2, 2024 06:49Simon ThorningtonSimon ThorningtonScore: 6,059Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2024 06:485,810613,898,424331,197,5000265,883,648
2Jan 2, 2024 06:485,810619,077,188331,154,5750266,784,768
3Jan 2, 2024 06:495,816639,484,901331,514,9900264,826,880
4Jan 2, 2024 06:495,833633,301,096332,487,1800266,498,048
5Jan 2, 2024 06:495,866570,375,900271,089,00063,254,000268,079,104
6Jan 2, 2024 06:485,873576,557,688262,235,00072,512,000268,087,296
7Jan 2, 2024 06:485,879560,274,199265,485,00069,602,000267,849,728
8Jan 2, 2024 06:495,897647,929,554336,149,8730266,747,904
9Jan 2, 2024 06:485,910641,926,134336,857,3730267,718,656
10Jan 2, 2024 06:485,913574,536,352254,496,00082,565,000267,984,896
11Jan 2, 2024 06:495,918585,818,885267,244,00070,064,000267,882,496
12Jan 2, 2024 06:495,942595,642,734271,139,00067,532,000267,857,920
13Jan 2, 2024 06:486,059595,819,090276,501,00068,868,000267,911,168
14Jan 2, 2024 06:496,230599,206,237281,064,00074,071,000267,931,648
15Jan 2, 2024 06:486,242591,487,177266,600,00089,204,000267,960,320
16Jan 2, 2024 06:496,319608,927,752269,180,00091,017,000267,980,800
17Jan 2, 2024 06:486,324614,517,538281,826,00078,625,000267,976,704
18Jan 2, 2024 06:496,343595,200,868289,874,00071,700,000267,960,320
19Jan 2, 2024 06:496,481593,371,783280,091,00089,304,000267,784,192
20Jan 2, 2024 06:486,536618,985,374288,722,00083,822,000267,776,000
21Jan 2, 2024 06:486,563643,452,115283,828,00090,263,000267,702,272
22Jan 2, 2024 06:496,647625,327,954272,744,000106,122,000267,575,296
23Jan 2, 2024 06:496,653619,267,459279,115,000100,117,000267,694,080
24Jan 2, 2024 06:486,773649,562,903275,751,000110,300,000266,571,776