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 29, 2024 21:34E SequeiraE SequeiraScore: 10,214Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 21:3410,204833,006,408470,708,000110,931,000267,313,152
2Nov 29, 2024 21:3410,214806,344,197461,010,000121,162,000267,296,768
3Nov 29, 2024 21:3410,254813,392,408462,437,000122,059,000267,522,048