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 21, 2023 20:24Alexander FrolovAlexander FrolovScore: 13,112Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 20:2413,0941,202,247,302746,380,5260260,411,392
2Dec 21, 2023 20:2413,1121,120,120,754747,370,6030263,200,768
3Dec 21, 2023 20:2413,2081,244,879,664752,883,5650260,931,584