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 listDec 30, 2023 22:25Alexander FrolovAlexander FrolovScore: 6,383Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 22:255,312623,729,414302,808,4610264,765,440
2Dec 30, 2023 22:255,326591,417,023303,581,4420265,441,280
3Dec 30, 2023 22:255,342618,174,164304,499,3450266,846,208
4Dec 30, 2023 22:255,447554,042,600238,368,00072,111,000267,857,920
5Dec 30, 2023 22:255,706567,704,269242,653,00082,562,000267,829,248
6Dec 30, 2023 22:256,062594,274,330247,834,00097,723,000267,673,600
7Dec 30, 2023 22:256,383601,400,222251,031,000112,811,000267,685,888
8Dec 30, 2023 22:256,415620,064,042244,760,000120,894,000267,640,832
9Dec 30, 2023 22:256,634634,194,147254,452,000123,678,000267,657,216
10Dec 30, 2023 22:256,738628,057,974255,030,000129,015,000267,075,584
11Dec 30, 2023 22:256,815630,524,833269,711,000118,753,000267,390,976
12Dec 30, 2023 22:256,974642,395,366270,071,000127,449,000267,476,992