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 listApr 23, 2024 19:10Joad NacerJoad NacerScore: 496,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2024 19:10486,04528,513,730,12527,704,555,1810266,784,768
2Apr 23, 2024 19:10496,45029,118,210,48228,297,646,0130266,792,960
3Apr 23, 2024 19:10508,33829,774,471,92728,975,277,4690266,797,056