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 7, 2024 21:54Yuriy LyfenkoYuriy LyfenkoScore: 5,119Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2024 21:544,8941,171,794,512278,933,8190266,194,944
2Jan 7, 2024 21:544,9121,185,125,277280,008,2840266,530,816
3Jan 7, 2024 21:544,9521,174,288,327282,277,8370266,338,304
4Jan 7, 2024 21:545,0881,128,437,944230,989,00059,019,000267,898,880
5Jan 7, 2024 21:545,0961,134,344,298227,952,00062,535,000267,988,992
6Jan 7, 2024 21:545,1101,134,397,855182,954,000108,341,000268,025,856
7Jan 7, 2024 21:545,1191,140,656,777215,014,00076,790,000268,013,568
8Jan 7, 2024 21:545,1251,130,709,807237,312,00054,841,000267,837,440
9Jan 7, 2024 21:545,1291,139,791,702223,251,00069,077,000267,796,480
10Jan 7, 2024 21:545,1391,146,868,761231,925,00060,980,000267,948,032
11Jan 7, 2024 21:545,1501,144,709,570240,632,00052,919,000267,804,672
12Jan 7, 2024 21:545,1671,148,110,924176,711,000117,807,000267,980,800