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 listJan 5, 2024 21:22Alexander FrolovAlexander FrolovScore: 5,425Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 21:225,268586,467,340300,283,4650267,468,800
2Jan 5, 2024 21:225,285592,769,154301,262,2170266,809,344
3Jan 5, 2024 21:225,286589,373,704301,300,1610267,444,224
4Jan 5, 2024 21:225,381547,052,648242,553,00064,146,000267,927,552
5Jan 5, 2024 21:225,412543,604,877238,151,00070,340,000267,911,168
6Jan 5, 2024 21:225,421551,403,674251,340,00057,684,000267,902,976
7Jan 5, 2024 21:225,425552,885,241237,008,00072,221,000267,710,464
8Jan 5, 2024 21:225,437542,334,698238,716,00071,213,000267,808,768
9Jan 5, 2024 21:225,453557,298,924237,498,00073,301,000267,931,648
10Jan 5, 2024 21:225,464555,661,079233,600,00077,866,000267,972,608
11Jan 5, 2024 21:225,483550,075,693240,576,00071,967,000267,833,344
12Jan 5, 2024 21:225,502558,805,963242,034,00071,601,000267,972,608