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 6, 2024 17:38Alexander FrolovAlexander FrolovScore: 5,666Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2024 17:385,495605,607,908313,191,9200267,177,984
2Jan 6, 2024 17:385,544623,321,927316,013,4250266,072,064
3Jan 6, 2024 17:385,582619,465,521318,146,8620265,265,152
4Jan 6, 2024 17:385,650543,433,717260,512,00061,538,000267,726,848
5Jan 6, 2024 17:385,656556,376,006264,644,00057,759,000267,972,608
6Jan 6, 2024 17:385,665550,406,869252,379,00070,546,000267,841,536
7Jan 6, 2024 17:385,666564,264,475258,785,00064,186,000267,898,880
8Jan 6, 2024 17:385,667568,226,247255,069,00067,952,000267,808,768
9Jan 6, 2024 17:385,691559,043,399253,313,00071,088,000267,718,656
10Jan 6, 2024 17:385,729566,042,311260,634,00065,919,000267,878,400
11Jan 6, 2024 17:385,736581,589,197251,168,00075,765,000267,952,128
12Jan 6, 2024 17:385,750575,959,680255,484,00072,268,000267,726,848