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 listAug 7, 2024 02:02zielajzielajScore: 4,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 02:024,55933,914,72213,547,0001,042,0002,289,664
2Aug 7, 2024 02:024,56031,196,39713,551,0001,042,0002,265,088
3Aug 7, 2024 02:024,56337,683,22513,560,0001,043,0002,269,184
4Aug 7, 2024 02:014,56442,590,15713,563,0001,043,0002,281,472
5Aug 7, 2024 02:014,56640,008,45113,567,0001,043,0002,277,376
6Aug 7, 2024 02:014,56635,192,37713,568,0001,043,0002,289,664
7Aug 7, 2024 02:014,56645,866,19113,569,0001,043,0002,289,664
8Aug 7, 2024 02:024,57331,801,98213,589,0001,045,0002,531,328
9Aug 7, 2024 02:014,57431,864,34813,592,0001,045,0002,289,664
10Aug 7, 2024 02:024,57631,962,54113,597,0001,045,0002,277,376
11Aug 7, 2024 02:024,57830,390,39713,602,0001,046,0002,265,088
12Aug 7, 2024 02:024,57931,265,69914,654,00002,281,472
13Aug 7, 2024 02:014,58332,879,37813,619,0001,047,0002,289,664
14Aug 7, 2024 02:024,58534,247,83513,624,0001,048,0002,289,664
15Aug 7, 2024 02:014,59035,615,55813,640,0001,049,0002,289,664
16Aug 7, 2024 02:014,59343,466,66213,648,0001,049,0002,289,664
17Aug 7, 2024 02:014,59336,113,50013,648,0001,049,0002,289,664
18Aug 7, 2024 02:024,64840,796,93512,892,0001,983,0002,289,664
19Aug 7, 2024 02:014,81273,292,49015,396,82202,306,048
20Aug 7, 2024 02:014,82959,542,79415,452,10802,179,072
21Aug 7, 2024 02:024,83197,173,72415,459,35702,183,168
22Aug 7, 2024 02:014,83565,761,64115,473,31002,183,168
23Aug 7, 2024 02:024,87775,655,99715,607,92902,297,856
24Aug 7, 2024 02:024,880113,563,36915,617,06502,187,264