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 19, 2024 11:36Franek KortaFranek KortaScore: 5,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2024 11:365,272572,910,485228,528,00071,962,000268,042,240
2May 19, 2024 11:365,282565,135,738227,719,00073,333,000268,013,568
3May 19, 2024 11:365,291560,117,811221,250,00080,364,000268,144,640
4May 19, 2024 11:365,293562,690,089225,499,00076,182,000268,083,200
5May 19, 2024 11:365,301641,865,298302,143,6980266,326,016
6May 19, 2024 11:365,315573,677,641227,215,00075,738,000268,087,296
7May 19, 2024 11:365,336576,827,342226,717,00077,461,000268,148,736
8May 19, 2024 11:365,338609,311,321227,493,00076,767,000268,120,064
9May 19, 2024 11:365,354595,891,905305,152,6840268,169,216
10May 19, 2024 11:365,359589,307,821234,350,00071,106,000268,062,720
11May 19, 2024 11:365,366587,673,787228,455,00077,426,000268,038,144
12May 19, 2024 11:365,439669,857,671310,050,9370267,960,320