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:20Yuriy 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:204,5511,138,227,970259,405,0350266,215,424
2Jan 22, 2024 17:204,5801,177,479,020261,067,5390266,301,440
3Jan 22, 2024 17:204,6211,117,609,069199,875,00063,550,000265,891,840
4Jan 22, 2024 17:204,6311,125,845,910199,747,00064,240,000265,474,048
5Jan 22, 2024 17:204,6341,180,557,639264,144,1760264,249,344
6Jan 22, 2024 17:204,6451,120,503,119191,847,00072,941,000265,203,712
7Jan 22, 2024 17:204,6531,122,896,429189,586,00075,637,000264,720,384
8Jan 22, 2024 17:204,6561,115,763,550197,781,00067,609,000264,806,400
9Jan 22, 2024 17:204,6931,142,946,217201,888,00065,588,000264,626,176
10Jan 22, 2024 17:204,7011,145,759,085203,027,00064,927,000265,011,200
11Jan 22, 2024 17:204,7041,139,248,944195,106,00073,039,000263,135,232
12Jan 22, 2024 17:204,7441,301,961,337203,343,00067,093,000262,369,280