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 listApr 17, 2024 18:03Joad NacerJoad NacerScore: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 18:034,89640,561,53614,622,0001,044,0002,289,664
2Apr 17, 2024 18:034,90441,905,23414,648,0001,046,0002,527,232
3Apr 17, 2024 18:034,90844,251,21215,707,00002,289,664
4Apr 17, 2024 18:034,95344,093,77913,870,0001,981,0002,289,664
5Apr 17, 2024 18:034,95745,456,05813,880,0001,982,0002,273,280
6Apr 17, 2024 18:034,96441,275,84813,899,0001,985,0002,371,584
7Apr 17, 2024 18:034,96440,698,99014,892,000992,0002,273,280
8Apr 17, 2024 18:034,96532,671,88714,895,000993,0002,269,184
9Apr 17, 2024 18:034,96633,741,60013,906,0001,986,0002,289,664
10Apr 17, 2024 18:035,07873,142,09316,250,77902,293,760
11Apr 17, 2024 18:035,10587,617,65316,336,38902,297,856
12Apr 17, 2024 18:035,11767,806,49716,374,21602,297,856