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 12, 2023 13:19Vadim AlekseevVadim AlekseevScore: 39,416Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2023 13:1938,87411,870,735,3472,215,821,191092,237,824
2Dec 12, 2023 13:1939,41612,026,467,3372,246,699,828093,724,672
3Dec 12, 2023 13:1939,54312,867,149,3632,253,938,697090,525,696