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 29, 2023 16:16Yuriy LyfenkoYuriy LyfenkoScore: 5,166Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 16:165,1261,134,570,707202,217,00089,986,000266,854,400
2Dec 29, 2023 16:165,1451,187,343,984293,260,5560265,949,184
3Dec 29, 2023 16:165,1501,144,077,810204,766,00088,765,000266,899,456
4Dec 29, 2023 16:165,1501,138,147,600200,643,00092,908,000266,952,704
5Dec 29, 2023 16:165,1511,139,377,696204,744,00088,889,000266,862,592
6Dec 29, 2023 16:165,1661,229,347,646294,476,1930264,130,560
7Dec 29, 2023 16:165,1661,142,078,896202,695,00091,767,000266,686,464
8Dec 29, 2023 16:165,1891,156,719,620205,074,00090,686,000266,903,552
9Dec 29, 2023 16:165,2061,142,366,166200,898,00095,860,000266,838,016
10Dec 29, 2023 16:165,2181,203,803,897297,420,9540265,232,384
11Dec 29, 2023 16:165,2811,140,668,084201,684,00099,336,000266,801,152
12Dec 29, 2023 16:165,4361,165,736,264196,705,000113,130,000266,993,664