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:10Mikhail ShirokovMikhail ShirokovScore: 27,722Success
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:1027,4141,598,717,4811,518,657,00043,961,000251,842,560
2Dec 17, 2024 00:1027,7221,605,434,9681,531,180,00048,973,000251,842,560
3Dec 17, 2024 00:1029,2931,694,941,8991,631,731,00037,970,000252,092,416