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 18, 2024 08:05NoSIMD_C#NoSIMD_C#Score: 28,557Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 18, 2024 08:0528,4671,650,124,549979,575,000643,065,000251,895,808
2Dec 18, 2024 08:0528,5571,660,401,724996,608,000631,118,000252,039,168
3Dec 18, 2024 08:0528,5771,662,196,711990,724,000638,178,000251,891,712