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 listNov 13, 2024 17:19Dan StolyarovDan StolyarovScore: 9,594Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 13, 2024 17:199,589799,460,265431,411,000115,177,000263,139,328
2Nov 13, 2024 17:199,594813,027,388451,421,00095,413,000263,180,288
3Nov 13, 2024 17:199,618806,347,543440,850,000107,399,000263,061,504