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 22:56Alexander FrolovAlexander FrolovScore: 5,114Success
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 22:564,970564,506,818283,282,5030266,055,680
2Jan 5, 2024 22:564,995585,351,887284,720,1230267,628,544
3Jan 5, 2024 22:565,053585,438,938288,004,8900266,104,832
4Jan 5, 2024 22:565,094524,019,396161,106,000129,270,000268,025,856
5Jan 5, 2024 22:565,104525,720,801184,877,000106,077,000267,808,768
6Jan 5, 2024 22:565,111521,222,434184,685,000106,663,000267,800,576
7Jan 5, 2024 22:565,114530,973,452223,436,00068,046,000268,001,280
8Jan 5, 2024 22:565,135536,213,045239,372,00053,305,000267,952,128
9Jan 5, 2024 22:565,183545,838,110234,349,00061,091,000267,890,688
10Jan 5, 2024 22:565,185547,976,933244,447,00051,093,000267,993,088
11Jan 5, 2024 22:565,187548,014,908223,772,00071,890,000267,993,088
12Jan 5, 2024 22:565,194544,773,727241,949,00054,106,000267,866,112