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 listNov 27, 2022 19:38Yuriy LyfenkoYuriy LyfenkoScore: 5,353Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 19:385,275535,240,792205,657,00094,994,000266,776,576
2Nov 27, 2022 19:385,278542,593,796216,644,00084,193,000266,817,536
3Nov 27, 2022 19:385,282541,958,681215,192,00085,875,000266,985,472
4Nov 27, 2022 19:385,321552,879,505215,802,00087,514,000266,973,184
5Nov 27, 2022 19:385,329545,595,892217,125,00086,646,000266,162,176
6Nov 27, 2022 19:385,346559,891,380204,137,000100,603,000266,797,056
7Nov 27, 2022 19:385,353547,515,659212,779,00092,338,000266,842,112
8Nov 27, 2022 19:385,357562,334,577214,453,00090,887,000266,891,264
9Nov 27, 2022 19:385,358558,075,153211,281,00094,125,000266,866,688
10Nov 27, 2022 19:386,0691,144,812,406345,916,6690266,215,424
11Nov 27, 2022 19:386,3301,304,502,830360,805,1520266,428,416
12Nov 27, 2022 19:386,3331,268,642,712360,996,2000266,420,224