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 listJan 2, 2024 16:41Alexander FrolovAlexander FrolovScore: 5,330Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2024 16:415,179597,479,600295,213,9220266,403,840
2Jan 2, 2024 16:415,204607,052,056296,648,3360264,577,024
3Jan 2, 2024 16:415,284547,231,327227,130,00074,042,000267,862,016
4Jan 2, 2024 16:415,285541,505,802220,608,00080,662,000267,841,536
5Jan 2, 2024 16:415,303535,375,232237,129,00065,134,000267,943,936
6Jan 2, 2024 16:415,306617,625,766302,423,9950263,868,416
7Jan 2, 2024 16:415,330536,308,973224,393,00079,431,000267,997,184
8Jan 2, 2024 16:415,332546,035,642236,406,00067,544,000267,956,224
9Jan 2, 2024 16:415,351544,769,660230,213,00074,770,000267,894,784
10Jan 2, 2024 16:415,364547,530,053233,161,00072,607,000267,902,976
11Jan 2, 2024 16:415,367562,564,980244,090,00061,808,000267,948,032
12Jan 2, 2024 16:415,370556,222,963222,244,00083,829,000267,804,672