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:23Yuriy LyfenkoYuriy LyfenkoScore: 5,332Success
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:235,2101,033,505,191206,267,00090,678,000266,969,088
2Dec 22, 2023 17:235,2501,043,873,593207,233,00091,991,000266,756,096
3Dec 22, 2023 17:235,2671,045,805,647209,349,00090,888,000266,690,560
4Dec 22, 2023 17:235,2691,047,838,620206,531,00093,787,000266,985,472
5Dec 22, 2023 17:235,2691,054,309,698206,917,00093,414,000266,969,088
6Dec 22, 2023 17:235,2791,068,821,611204,939,00095,971,000266,813,440
7Dec 22, 2023 17:235,3321,388,168,815303,926,8060265,539,584
8Dec 22, 2023 17:235,3861,384,021,482306,975,7800264,511,488
9Dec 22, 2023 17:235,3901,437,293,593307,202,7850263,626,752
10Dec 22, 2023 17:235,4401,048,506,654210,346,00099,741,000266,952,704
11Dec 22, 2023 17:235,4891,076,147,165205,614,000107,234,000266,735,616
12Dec 22, 2023 17:235,5081,072,959,693208,973,000104,991,000266,756,096