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 22, 2023 17:21Yuriy LyfenkoYuriy LyfenkoScore: 5,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 17:215,2621,045,494,682214,544,00085,410,000266,838,016
2Dec 22, 2023 17:215,2801,040,331,689216,296,00084,682,000267,005,952
3Dec 22, 2023 17:215,2891,036,162,988216,376,00085,115,000266,924,032
4Dec 22, 2023 17:215,3111,050,204,083213,328,00089,394,000266,985,472
5Dec 22, 2023 17:215,3131,411,991,666302,836,0620265,494,528
6Dec 22, 2023 17:215,3201,042,403,505208,790,00094,452,000266,883,072
7Dec 22, 2023 17:215,3371,063,357,561213,565,00090,664,000266,940,416
8Dec 22, 2023 17:215,3441,460,234,885304,626,2510264,822,784
9Dec 22, 2023 17:215,3451,416,747,650304,650,4240265,949,184
10Dec 22, 2023 17:215,4671,052,296,984220,634,00090,972,000266,964,992
11Dec 22, 2023 17:215,4761,064,389,248210,095,000102,017,000266,993,664
12Dec 22, 2023 17:215,5071,060,274,141201,777,000112,098,000266,997,760