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 17, 2024 00:03Mikhail ShirokovMikhail ShirokovScore: 27,379Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2024 00:0327,3531,586,925,1861,506,132,00052,969,000251,830,272
2Dec 17, 2024 00:0327,3791,583,929,3121,511,671,00048,956,000251,830,272
3Dec 17, 2024 00:0327,4741,594,836,1401,522,064,00043,972,000251,830,272