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 17:22Yuriy LyfenkoYuriy LyfenkoScore: 4,653Success
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 17:224,5881,114,613,906192,382,00069,137,000265,441,280
2Jan 22, 2024 17:234,5921,117,464,481189,657,00072,109,000265,216,000
3Jan 22, 2024 17:224,6091,196,821,845199,570,00063,129,000264,486,912
4Jan 22, 2024 17:234,6161,123,518,985193,554,00069,558,000264,507,392
5Jan 22, 2024 17:234,6191,123,901,936192,462,00070,802,000263,585,792
6Jan 22, 2024 17:234,6261,126,973,137193,242,00070,452,000265,781,248
7Jan 22, 2024 17:224,6271,127,811,329189,501,00074,237,000265,461,760
8Jan 22, 2024 17:224,6271,132,969,525203,108,00060,613,000264,667,136
9Jan 22, 2024 17:234,6291,117,933,179190,453,00073,403,000263,684,096
10Jan 22, 2024 17:234,6371,126,806,057193,781,00070,556,000262,520,832
11Jan 22, 2024 17:234,6441,161,105,249193,044,00071,645,000265,797,632
12Jan 22, 2024 17:234,6511,132,321,597199,855,00065,258,000265,396,224
13Jan 22, 2024 17:234,6531,137,720,068190,452,00074,785,000265,236,480
14Jan 22, 2024 17:224,6651,131,406,230190,894,00074,994,000265,211,904
15Jan 22, 2024 17:224,6721,128,309,822199,747,00066,582,000265,646,080
16Jan 22, 2024 17:224,6731,171,943,050266,368,5650266,207,232
17Jan 22, 2024 17:224,6741,144,696,061194,509,00071,928,000265,211,904
18Jan 22, 2024 17:234,6761,185,322,405266,537,4940266,211,328
19Jan 22, 2024 17:224,6791,178,442,983266,691,9560267,235,328
20Jan 22, 2024 17:234,6841,171,187,837267,005,7710265,981,952
21Jan 22, 2024 17:224,6861,140,608,870199,022,00068,059,000263,147,520
22Jan 22, 2024 17:224,6881,138,777,381191,298,00075,927,000263,471,104
23Jan 22, 2024 17:224,6951,167,029,038267,625,7030267,665,408
24Jan 22, 2024 17:234,7341,183,955,068269,823,9840266,293,248