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 listNov 25, 2024 00:12Joad NacerJoad NacerScore: 5,798Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 25, 2024 00:125,784644,732,332248,567,00081,144,000266,629,120
2Nov 25, 2024 00:125,798651,228,571259,385,00071,105,000266,457,088
3Nov 25, 2024 00:125,805663,939,018259,979,00070,903,000266,526,720