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 listJun 2, 2024 16:43Joad NacerJoad NacerScore: 13,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 16:435,155376,770,441293,835,9410267,984,896
2Jun 2, 2024 16:435,160383,417,439294,133,3420268,111,872
3Jun 2, 2024 16:435,336388,401,367304,133,9400268,115,968
4Jun 2, 2024 16:4312,6882,516,321,666289,091,000434,151,000267,497,472
5Jun 2, 2024 16:4313,0612,576,238,531291,674,000452,809,000261,042,176
6Jun 2, 2024 16:4313,1922,640,396,755280,439,000471,508,000264,343,552
7Jun 2, 2024 16:4313,3312,688,780,318272,667,000487,192,000267,444,224
8Jun 2, 2024 16:4313,4453,123,640,489284,205,000482,134,000265,392,128
9Jun 2, 2024 16:4313,5442,726,720,749286,542,000485,448,000265,920,512
10Jun 2, 2024 16:4313,6082,849,611,060277,820,000497,846,000267,587,584
11Jun 2, 2024 16:4313,6342,810,625,942296,669,000480,465,000265,375,744
12Jun 2, 2024 16:4313,6982,878,820,274285,908,000494,881,000264,884,224