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 1, 2024 19:53Drew GarciaDrew GarciaScore: 66,826Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 19:5366,7764,136,422,0203,806,255,1230268,070,912
2Apr 1, 2024 19:5366,8264,133,045,8303,809,063,4770266,027,008
3Apr 1, 2024 19:5366,8524,114,981,9033,810,578,4270266,158,080