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 listJan 17, 2025 07:57Ian MckibbenIan MckibbenScore: 33,020Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2025 07:5733,0171,908,259,3431,823,993,00057,968,000251,834,368
2Jan 17, 2025 07:5733,0201,909,669,3291,821,223,00060,940,000251,850,752
3Jan 17, 2025 07:5733,0321,906,715,3931,820,832,00061,994,000251,858,944