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 14, 2024 10:59Dan StolyarovDan StolyarovScore: 8,516Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2024 10:598,478739,780,719379,327,000103,911,000263,110,656
2Nov 14, 2024 10:598,516727,574,195375,073,000110,315,000263,102,464
3Nov 14, 2024 10:598,543752,790,598396,552,00090,405,000263,102,464