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:51Yuriy LyfenkoYuriy LyfenkoScore: 5,679Success
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:515,3741,380,343,665306,293,2890266,268,672
2Dec 22, 2023 16:515,4441,440,155,858310,294,9780263,213,056
3Dec 22, 2023 16:515,4821,433,060,852312,463,7230264,421,376
4Dec 22, 2023 16:515,6421,065,023,689233,158,00088,439,000266,858,496
5Dec 22, 2023 16:515,6771,072,556,243234,161,00089,443,000266,104,832
6Dec 22, 2023 16:515,6781,065,576,056235,912,00087,711,000266,985,472
7Dec 22, 2023 16:515,6791,060,191,578240,996,00082,714,000266,887,168
8Dec 22, 2023 16:515,6941,070,561,690231,530,00093,007,000266,850,304
9Dec 22, 2023 16:515,7131,085,149,723240,652,00084,996,000266,760,192
10Dec 22, 2023 16:515,8071,064,414,607236,153,00094,864,000266,752,000
11Dec 22, 2023 16:515,8231,082,210,346231,549,000100,371,000266,952,704
12Dec 22, 2023 16:515,8281,083,358,864230,045,000102,132,000266,854,400