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 30, 2023 16:50Alexander FrolovAlexander FrolovScore: 7,646Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 16:506,625683,284,257377,624,9750265,084,928
2Dec 30, 2023 16:506,641663,462,086378,552,0980267,411,456
3Dec 30, 2023 16:506,669689,960,930380,150,4350265,240,576
4Dec 30, 2023 16:506,818635,206,885307,349,00081,298,000267,980,800
5Dec 30, 2023 16:506,993631,030,742327,426,00071,179,000267,788,288
6Dec 30, 2023 16:507,000640,335,077321,827,00077,198,000267,882,496
7Dec 30, 2023 16:507,646671,266,933320,673,000115,164,000267,710,464
8Dec 30, 2023 16:507,861696,520,501327,233,000120,824,000267,583,488
9Dec 30, 2023 16:507,919687,512,953344,870,000106,504,000267,210,752
10Dec 30, 2023 16:508,399722,679,069339,963,000138,760,000267,550,720
11Dec 30, 2023 16:508,416724,641,615356,286,000123,406,000267,399,168
12Dec 30, 2023 16:508,554737,438,423341,919,000145,669,000267,542,528