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 20, 2024 12:15matsuoka-601matsuoka-601Score: 4,834Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2024 12:154,753513,254,703207,525,00063,382,000268,017,664
2Jun 20, 2024 12:154,755513,740,397196,654,00074,357,000268,017,664
3Jun 20, 2024 12:154,779517,273,153198,447,00073,931,000267,997,184
4Jun 20, 2024 12:154,788512,370,296193,123,00079,811,000268,013,568
5Jun 20, 2024 12:154,816524,065,614203,810,00070,709,000267,776,000
6Jun 20, 2024 12:154,833526,687,074208,733,00066,752,000267,984,896
7Jun 20, 2024 12:154,834527,799,865200,735,00074,783,000267,702,272
8Jun 20, 2024 12:154,838528,985,688200,839,00074,940,000267,767,808
9Jun 20, 2024 12:154,874659,805,355199,453,00078,356,000267,886,592
10Jun 20, 2024 12:154,923589,746,183280,633,8680267,800,576
11Jun 20, 2024 12:154,983615,354,914284,008,5450265,764,864
12Jun 20, 2024 12:154,990592,668,922284,439,8910265,764,864