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 18:16Yuriy LyfenkoYuriy LyfenkoScore: 5,059Success
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 18:165,0221,135,520,476202,895,00083,367,000266,756,096
2Dec 22, 2023 18:165,0231,130,152,443148,199,000138,117,000266,768,384
3Dec 22, 2023 18:165,0311,139,268,744164,310,000122,485,000266,911,744
4Dec 22, 2023 18:165,0341,470,931,015286,924,8340267,030,528
5Dec 22, 2023 18:165,0421,740,197,526287,399,0710267,026,432
6Dec 22, 2023 18:165,0491,127,926,768208,755,00079,014,000266,895,360
7Dec 22, 2023 18:165,0591,141,825,837202,077,00086,314,000266,866,688
8Dec 22, 2023 18:165,0801,282,722,685222,255,00067,288,000266,784,768
9Dec 22, 2023 18:165,0871,539,399,960289,971,7740264,384,512
10Dec 22, 2023 18:165,1911,150,653,230212,492,00083,408,000266,993,664
11Dec 22, 2023 18:165,2751,164,465,417183,842,000116,806,000266,969,088
12Dec 22, 2023 18:165,2911,143,305,024207,205,00094,370,000266,977,280