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 6, 2024 21:31Alexander FrolovAlexander FrolovScore: 6,007Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2024 21:315,835621,516,085332,581,8270266,637,312
2Jan 6, 2024 21:315,919649,670,822337,365,2040265,220,096
3Jan 6, 2024 21:315,935648,927,096338,279,8130265,539,584
4Jan 6, 2024 21:315,990572,017,983269,561,00071,883,000267,714,560
5Jan 6, 2024 21:315,991580,278,943274,819,00066,684,000267,812,864
6Jan 6, 2024 21:315,993575,055,375278,369,00063,219,000267,948,032
7Jan 6, 2024 21:316,007572,433,988273,324,00069,093,000267,915,264
8Jan 6, 2024 21:316,009568,185,246271,183,00071,311,000267,636,736
9Jan 6, 2024 21:316,011580,570,795276,520,00066,080,000267,849,728
10Jan 6, 2024 21:316,038576,232,546264,821,00079,347,000267,653,120
11Jan 6, 2024 21:316,056587,888,348276,968,00068,223,000267,894,784
12Jan 6, 2024 21:316,074590,188,350264,924,00081,283,000267,898,880