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 listAug 22, 2024 17:46Andrey LikhachevAndrey LikhachevScore: 5,847Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2024 17:465,771589,665,441243,758,00085,168,000265,891,840
2Aug 22, 2024 17:465,775589,324,491230,947,00098,253,000265,850,880
3Aug 22, 2024 17:465,810594,119,684238,004,00093,176,000265,912,320
4Aug 22, 2024 17:465,820601,992,943233,502,00098,211,000266,002,432
5Aug 22, 2024 17:465,834601,215,317236,029,00096,514,000265,973,760
6Aug 22, 2024 17:465,841597,867,044225,653,000107,310,000265,793,536
7Aug 22, 2024 17:465,847604,138,522235,601,00097,688,000265,912,320
8Aug 22, 2024 17:465,848600,623,219232,446,000100,891,000265,842,688
9Aug 22, 2024 17:465,890595,367,628233,561,000102,183,000266,002,432
10Aug 22, 2024 17:466,142829,479,646350,111,9560263,311,360
11Aug 22, 2024 17:466,272885,238,214357,511,9330260,538,368
12Aug 22, 2024 17:466,293876,794,133358,700,5450260,509,696