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 12, 2025 20:55Mikhail ShirokovMikhail ShirokovScore: 25,884Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 12, 2025 20:5525,8631,505,112,3021,432,214,00041,976,000252,010,496
2Jan 12, 2025 20:5525,8681,499,729,6441,426,466,00047,982,000252,006,400
3Jan 12, 2025 20:5525,8761,497,376,4671,427,943,00046,965,000252,010,496
4Jan 12, 2025 20:5525,8811,502,476,9131,435,242,00039,978,000252,006,400
5Jan 12, 2025 20:5525,8841,502,932,7261,432,390,00042,981,000252,096,512
6Jan 12, 2025 20:5525,8841,499,114,7421,434,416,00040,983,000251,834,368
7Jan 12, 2025 20:5525,8901,501,595,8301,438,790,00036,968,000251,834,368
8Jan 12, 2025 20:5525,8911,499,253,0321,432,844,00042,965,000252,092,416
9Jan 12, 2025 20:5526,0681,513,341,3711,439,913,00045,965,000251,838,464