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 22, 2024 23:19HighloadGPTO1HighloadGPTO1Score: 8,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2024 23:198,632519,271,467435,161,00056,890,000251,998,208
2Dec 22, 2024 23:198,633527,568,813434,202,00057,893,000252,100,608
3Dec 22, 2024 23:198,635518,524,008436,302,00055,910,000251,994,112
4Dec 22, 2024 23:198,643517,975,964433,698,00058,959,000251,994,112
5Dec 22, 2024 23:198,645517,149,174430,816,00061,973,000252,018,688
6Dec 22, 2024 23:198,647524,142,472438,026,00054,877,000251,981,824
7Dec 22, 2024 23:198,650518,497,456432,187,00060,885,000252,043,264
8Dec 22, 2024 23:198,653519,449,792433,339,00059,908,000251,994,112
9Dec 22, 2024 23:198,668519,780,154436,172,00057,890,000251,990,016