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 16:46Yuriy LyfenkoYuriy LyfenkoScore: 6,053Success
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 16:465,9701,078,002,485252,460,00087,856,000265,945,088
2Dec 22, 2023 16:465,9771,092,156,033251,242,00089,442,000265,846,784
3Dec 22, 2023 16:465,9781,098,230,127249,868,00090,861,000265,822,208
4Dec 22, 2023 16:465,9901,091,141,639254,304,00087,132,000265,850,880
5Dec 22, 2023 16:465,9971,098,378,998248,705,00093,140,000265,523,200
6Dec 22, 2023 16:466,0341,099,624,222247,959,00095,984,000265,863,168
7Dec 22, 2023 16:466,0531,493,236,791345,014,2510264,269,824
8Dec 22, 2023 16:466,1391,097,837,039242,190,000107,750,000265,711,616
9Dec 22, 2023 16:466,1591,085,984,372247,102,000103,939,000265,846,784
10Dec 22, 2023 16:466,1651,545,884,268351,420,5760264,921,088
11Dec 22, 2023 16:466,1661,099,451,510254,687,00096,781,000265,850,880
12Dec 22, 2023 16:466,2511,447,266,284356,319,5700262,598,656