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 25, 2023 15:42Yuriy LyfenkoYuriy LyfenkoScore: 9,154Success
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 15:288,567801,627,734488,316,4650265,129,984
2Dec 25, 2023 15:428,7151,276,886,005496,780,4750264,081,408
3Dec 29, 2023 15:259,142937,689,584521,121,9320264,613,888
4Dec 29, 2023 15:289,147969,843,356521,387,1660264,536,064
5Dec 29, 2023 15:289,154960,134,302521,788,8120264,507,392
6Dec 29, 2023 15:259,194952,494,988524,084,9960264,638,464
7Dec 29, 2023 15:259,202837,963,241524,507,9450264,744,960
8Dec 25, 2023 15:429,2991,999,556,018530,046,6340264,708,096
9Dec 25, 2023 15:429,3461,707,861,735532,719,7670264,474,624