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 22, 2024 01:19Yuriy LyfenkoYuriy LyfenkoScore: 5,680Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 01:195,5961,162,487,370257,806,00061,139,000266,211,328
2Jan 22, 2024 01:195,6341,178,832,251265,884,00055,262,000265,945,088
3Jan 22, 2024 01:195,6481,167,271,721255,953,00065,988,000265,416,704
4Jan 22, 2024 01:195,6501,176,717,846250,813,00071,230,000264,187,904
5Jan 22, 2024 01:195,6591,167,182,730258,889,00063,695,000265,310,208
6Jan 22, 2024 01:195,6631,189,649,382251,189,00071,628,000263,196,672
7Jan 22, 2024 01:195,6801,187,906,995251,696,00072,058,000262,483,968
8Jan 22, 2024 01:195,6811,183,607,442258,634,00065,167,000262,524,928
9Jan 22, 2024 01:195,6911,199,600,333251,626,00072,735,000262,316,032
10Jan 22, 2024 01:196,2081,250,172,629353,870,5750266,104,832
11Jan 22, 2024 01:196,2201,259,478,870354,567,7540266,932,224
12Jan 22, 2024 01:196,2311,243,624,215355,152,8250265,363,456