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 listMay 19, 2024 11:49Franek KortaFranek KortaScore: 5,016Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2024 11:494,838611,682,607275,743,6780268,009,472
2May 19, 2024 11:494,926610,056,056280,777,6440264,921,088
3May 19, 2024 11:494,952551,640,573216,814,00065,453,000268,017,664
4May 19, 2024 11:494,990606,197,799284,429,0590267,341,824
5May 19, 2024 11:494,996546,676,890198,663,00086,120,000268,038,144
6May 19, 2024 11:495,015552,828,237211,399,00074,436,000268,054,528
7May 19, 2024 11:495,016565,978,949205,256,00080,673,000268,148,736
8May 19, 2024 11:495,030555,911,766203,937,00082,786,000268,054,528
9May 19, 2024 11:495,039560,463,827209,510,00077,705,000267,993,088
10May 19, 2024 11:495,042558,275,790211,763,00075,629,000268,140,544
11May 19, 2024 11:495,044550,811,240213,624,00073,907,000267,948,032
12May 19, 2024 11:495,057571,822,170208,050,00080,175,000266,346,496