Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJul 3, 2023 21:03Jo SeatonJo SeatonScore: 5,270Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 21:035,18942,560,21315,568,0001,037,000430,080
2Jul 3, 2023 21:035,19745,498,01816,630,0000430,080
3Jul 3, 2023 21:035,19841,128,50915,593,0001,039,000430,080
4Jul 3, 2023 21:035,20044,073,05616,641,0000294,912
5Jul 3, 2023 21:035,20347,121,15915,610,0001,040,000167,936
6Jul 3, 2023 21:035,21149,621,73715,632,0001,042,000167,936
7Jul 3, 2023 21:035,27036,939,65216,865,00002,392,064
8Jul 3, 2023 21:035,27843,649,55014,904,0001,987,0002,383,872
9Jul 3, 2023 21:035,30037,348,23315,963,000997,0002,265,088
10Jul 3, 2023 21:035,47181,150,49917,507,13502,281,472
11Jul 3, 2023 21:035,47362,633,74617,514,59502,293,760
12Jul 3, 2023 21:035,48481,556,02217,548,03402,277,376