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 7, 2024 23:36Joad NacerJoad NacerScore: 5,539Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 7, 2024 23:365,455595,350,627230,510,00080,433,000265,736,192
2Dec 7, 2024 23:365,539631,875,173233,998,00081,746,000265,293,824
3Dec 7, 2024 23:365,586624,402,594244,261,00074,113,000265,515,008