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 15, 2024 18:38Dan StolyarovDan StolyarovScore: 8,512Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 15, 2024 18:388,471737,678,948384,252,00098,577,000262,991,872
2Nov 15, 2024 18:388,512741,946,134368,358,000116,844,000263,069,696
3Nov 15, 2024 18:388,536751,066,453394,995,00091,548,000263,020,544