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 22, 2024 22:29Yuriy LyfenkoYuriy LyfenkoScore: 4,538Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 22:294,4361,169,581,195252,840,7240266,788,864
2Jan 22, 2024 22:294,4741,167,114,270254,996,3010267,169,792
3Jan 22, 2024 22:294,5021,098,809,103196,224,00060,376,000264,597,504
4Jan 22, 2024 22:294,5041,097,457,752189,381,00067,357,000264,773,632
5Jan 22, 2024 22:294,5141,148,065,338257,305,0880264,368,128
6Jan 22, 2024 22:294,5331,107,170,018196,633,00061,769,000266,076,160
7Jan 22, 2024 22:294,5381,099,373,352195,788,00062,895,000264,921,088
8Jan 22, 2024 22:294,5681,110,435,690194,270,00066,113,000265,265,152
9Jan 22, 2024 22:294,5751,122,958,686192,117,00068,684,000265,306,112
10Jan 22, 2024 22:294,5841,123,180,340195,949,00065,316,000265,588,736
11Jan 22, 2024 22:294,6051,129,768,989197,116,00065,370,000263,704,576
12Jan 22, 2024 22:294,6071,121,265,244195,935,00066,658,000262,742,016