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 listJun 23, 2024 09:17matsuoka-601matsuoka-601Score: 4,401Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2024 09:174,149555,196,849236,492,1900268,173,312
2Jun 23, 2024 09:174,167553,550,967237,504,0100266,604,544
3Jun 23, 2024 09:174,243563,690,910241,849,6660265,764,864
4Jun 23, 2024 09:174,362488,398,553178,624,00069,987,000265,822,208
5Jun 23, 2024 09:174,363491,814,663176,627,00072,072,000265,515,008
6Jun 23, 2024 09:174,398498,882,813172,935,00077,769,000265,719,808
7Jun 23, 2024 09:174,401498,357,559169,559,00081,309,000265,736,192
8Jun 23, 2024 09:174,404511,477,191170,033,00081,016,000265,707,520
9Jun 23, 2024 09:174,408507,363,159173,467,00077,761,000265,777,152
10Jun 23, 2024 09:174,409499,882,750182,481,00068,821,000265,711,616
11Jun 23, 2024 09:174,423507,075,676175,862,00076,241,000265,875,456
12Jun 23, 2024 09:174,425491,353,490168,132,00084,066,000265,916,416