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 21:36Joad NacerJoad NacerScore: 12,678Success
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 21:3612,6591,583,475,225721,573,5110266,784,768
2Apr 23, 2024 21:3612,6781,635,208,898722,636,8010266,809,344
3Apr 23, 2024 21:3612,8521,687,557,939732,557,2490266,649,600