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 listJul 8, 2023 21:19gchebanovgchebanovScore: 5,394Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 21:195,359544,954,154209,995,00095,452,000267,759,616
2Jul 8, 2023 21:195,368546,227,157216,384,00089,572,000267,907,072
3Jul 8, 2023 21:195,375551,307,355214,768,00091,621,000267,816,960
4Jul 8, 2023 21:195,382557,777,178221,300,00085,502,000267,862,016
5Jul 8, 2023 21:195,384556,710,277218,500,00088,393,000267,788,288
6Jul 8, 2023 21:195,391548,226,134212,981,00094,334,000267,698,176
7Jul 8, 2023 21:195,394559,180,335225,868,00081,563,000267,706,368
8Jul 8, 2023 21:195,411554,539,639224,778,00083,661,000267,849,728
9Jul 8, 2023 21:195,415568,581,683215,462,00093,200,000267,948,032
10Jul 8, 2023 21:196,1641,713,957,837351,355,4520264,314,880
11Jul 8, 2023 21:196,2141,574,680,340354,221,8810268,029,952
12Jul 8, 2023 21:196,2501,626,060,907356,224,5750268,128,256