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 24, 2024 23:02Yuriy LyfenkoYuriy LyfenkoScore: 4,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 23:024,3961,092,975,860184,928,00065,619,000264,130,560
2Jan 24, 2024 23:024,4211,097,686,255194,951,00057,033,000264,204,288
3Jan 24, 2024 23:024,4271,122,648,039188,729,00063,582,000265,871,360
4Jan 24, 2024 23:024,4281,102,447,346185,511,00066,905,000264,560,640
5Jan 24, 2024 23:024,4361,107,211,624184,151,00068,683,000264,306,688
6Jan 24, 2024 23:024,4591,109,239,397187,338,00066,834,000265,506,816
7Jan 24, 2024 23:024,4901,130,007,974182,959,00072,983,000263,958,528
8Jan 24, 2024 23:024,4931,121,242,215192,067,00064,022,000263,819,264
9Jan 24, 2024 23:024,5071,122,557,734185,918,00070,969,000265,547,776
10Jan 24, 2024 23:024,5341,155,278,886258,419,0530265,887,744
11Jan 24, 2024 23:024,5421,177,135,559258,878,7270267,739,136
12Jan 24, 2024 23:024,5561,180,884,076259,706,0760267,726,848