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 2, 2024 22:03Joad NacerJoad NacerScore: 4,867Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2024 20:034,863308,450,195231,180,00046,035,000251,949,056
2Dec 12, 2024 20:034,864306,478,021233,197,00044,037,000251,949,056
3Dec 12, 2024 20:034,865299,837,267230,437,00046,885,000251,944,960
4Dec 12, 2024 20:034,865304,376,850237,425,00039,903,000252,092,416
5Dec 12, 2024 20:034,866305,739,020239,317,00038,050,000251,953,152
6Dec 12, 2024 20:034,867302,122,080236,505,00040,914,000252,092,416
7Dec 12, 2024 20:034,867304,392,697229,532,00047,902,000251,949,056
8Dec 12, 2024 20:034,873298,518,794231,812,00045,962,000251,944,960
9Dec 12, 2024 20:034,875300,323,959230,905,00046,980,000252,096,512
10Dec 2, 2024 22:035,877573,253,865232,639,000102,322,000267,247,616
11Dec 2, 2024 22:035,933593,997,344246,141,00092,052,000267,321,344
12Dec 2, 2024 22:035,991617,775,364252,559,00088,900,000267,227,136