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 listJul 8, 2023 20:08gchebanovgchebanovScore: 5,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 20:085,455546,412,422229,095,00081,819,000267,735,040
2Jul 8, 2023 20:085,465559,605,382225,239,00086,240,000267,915,264
3Jul 8, 2023 20:085,470558,749,543222,994,00088,794,000267,911,168
4Jul 8, 2023 20:085,471572,601,065225,203,00086,616,000267,857,920
5Jul 8, 2023 20:085,475558,417,265211,654,000100,412,000267,894,784
6Jul 8, 2023 20:085,482554,308,263222,166,00090,287,000267,726,848
7Jul 8, 2023 20:085,482566,505,855224,648,00087,817,000267,776,000
8Jul 8, 2023 20:085,495571,527,727216,781,00096,458,000267,902,976
9Jul 8, 2023 20:085,516564,547,392231,988,00082,417,000267,780,096
10Jul 8, 2023 20:086,2381,626,913,143355,566,4770268,017,664
11Jul 8, 2023 20:086,2771,693,891,963357,814,9560264,331,264
12Jul 8, 2023 20:086,3291,614,137,220360,731,7390268,136,448