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 27, 2022 20:23apuxbtapuxbtScore: 29,417Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 20:2329,3812,979,681,5661,674,737,1880208,617,472
2Nov 27, 2022 20:2329,4172,736,627,1091,676,759,2810210,423,808
3Nov 27, 2022 20:2329,7162,952,659,1171,693,795,7000210,522,112