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 listDec 25, 2023 23:35Vitaliy F.Vitaliy F.Score: 21,689Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2023 23:3520,7781,827,781,0561,184,367,1130261,816,320
2Dec 25, 2023 23:3521,6892,754,690,9121,236,256,2620261,713,920
3Dec 25, 2023 23:3521,7352,860,104,0741,238,900,4180257,503,232