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 listSep 24, 2026 16:38Kevin HeaveyKevin HeaveyError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 24, 2026 16:380374,419,317364,181,000020,480Exit with code 3: size=120000000 n=30000000 in_mode=100600 in_fs=1021994 in_fl=8000 out_mode=100600 out_size=0 out_fs=1021994 out_fl=8002 min=278 max=4294967222 zero=0 seq=0 eq=0 outlen=249863976 cls: 16001470 7997412 4002203 1998915 dig: 0 0 2 38 330 ...stderr