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:07Alexander FrolovAlexander FrolovScore: 5,074Success
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:074,912593,859,473279,961,3130267,517,952
2Jan 5, 2024 22:074,939575,626,690281,533,8110267,476,992
3Jan 5, 2024 22:075,031521,970,900217,622,00069,151,000267,882,496
4Jan 5, 2024 22:075,048617,034,922287,745,8910266,420,224
5Jan 5, 2024 22:075,061524,729,457214,340,00074,117,000267,829,248
6Jan 5, 2024 22:075,067523,129,826205,434,00083,364,000267,980,800
7Jan 5, 2024 22:075,074524,004,593210,986,00078,253,000267,927,552
8Jan 5, 2024 22:075,090540,465,162226,914,00063,204,000267,874,304
9Jan 5, 2024 22:075,120540,333,120225,737,00066,094,000267,730,944
10Jan 5, 2024 22:075,125543,146,723213,354,00078,761,000267,935,744
11Jan 5, 2024 22:075,133536,833,987223,241,00069,317,000267,837,440
12Jan 5, 2024 22:075,148560,408,176229,142,00064,320,000267,784,192