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 listJun 2, 2024 16:25Joad NacerJoad NacerScore: 9,086Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 16:258,8011,128,337,724501,638,4660267,812,864
2Jun 2, 2024 16:259,0861,270,120,588517,918,7740267,599,872
3Jun 2, 2024 16:259,1311,291,913,440520,461,3740267,755,520