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 listApr 20, 2025 22:03Pavel GusevPavel GusevScore: 412,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2025 22:03409,28723,371,729,64913,551,234,0009,778,118,000251,981,824
2Apr 20, 2025 22:03409,85023,406,262,98813,609,263,0009,752,172,000251,912,192
3Apr 20, 2025 22:03410,01223,410,566,39513,568,425,0009,802,250,000251,904,000
4Apr 20, 2025 22:03411,74923,512,074,17213,355,565,00010,114,127,000251,875,328
5Apr 20, 2025 22:03412,29823,544,238,58913,433,863,00010,067,150,000251,883,520
6Apr 20, 2025 22:03413,92123,639,425,45013,577,235,00010,016,271,000251,904,000
7Apr 20, 2025 22:03415,38423,720,579,72013,458,677,00010,218,199,000251,850,752
8Apr 20, 2025 22:03419,61623,961,927,46513,530,282,00010,387,842,000252,076,032
9Apr 20, 2025 22:03433,54124,751,243,23013,559,318,00011,152,504,000251,891,712