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:22apuxbtapuxbtScore: 40,925Success
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:2240,7097,720,215,8302,320,400,2610134,930,432
2Nov 27, 2022 20:2240,9257,992,299,3302,332,726,8460136,118,272
3Nov 27, 2022 20:2241,0378,031,672,1632,339,129,9840134,955,008