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 listMay 12, 2024 15:17Franek KortaFranek KortaScore: 406,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 15:17404,33623,647,191,34223,047,138,0510268,005,376
2May 12, 2024 15:17406,59023,447,404,17623,175,632,8840267,563,008
3May 12, 2024 15:17408,31323,852,801,67623,273,846,0690267,853,824