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 15, 2023 02:53Evgeniy KhaluevEvgeniy KhaluevScore: 15,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 15, 2023 02:5315,0992,134,485,484860,645,9520226,279,424
2Dec 15, 2023 02:5315,3362,660,241,302874,135,2080226,861,056
3Dec 15, 2023 02:5315,3652,798,503,683875,807,6620226,398,208