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 listDec 31, 2024 02:35Joad NacerJoad NacerScore: 3,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2024 02:353,728240,884,490190,534,00021,946,000250,294,272
2Dec 31, 2024 02:353,733236,749,172192,800,00019,979,000250,159,104
3Dec 31, 2024 02:353,746238,475,029187,571,00025,940,000250,052,608