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 23:45Yurkov AlekseyYurkov AlekseyScore: 5,940Success
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 23:455,793567,629,624241,590,00088,583,000266,809,344
2Dec 30, 2023 23:455,819568,443,109236,484,00095,182,000266,956,800
3Dec 30, 2023 23:455,852660,163,669333,537,8050265,760,768
4Dec 30, 2023 23:455,860577,841,833238,577,00095,431,000266,825,728
5Dec 30, 2023 23:455,871567,661,703245,116,00089,503,000266,883,072
6Dec 30, 2023 23:455,932585,882,962241,214,00096,889,000266,911,744
7Dec 30, 2023 23:455,940574,263,156238,608,00099,997,000266,829,824
8Dec 30, 2023 23:456,021729,771,613343,177,4330264,867,840
9Dec 30, 2023 23:456,040597,495,456251,424,00092,849,000266,928,128
10Dec 30, 2023 23:456,075578,993,431246,622,00099,676,000266,883,072
11Dec 30, 2023 23:456,082597,472,143239,717,000106,981,000266,936,320
12Dec 30, 2023 23:456,125769,432,893349,142,3580266,649,600