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:01zielajzielajScore: 4,582Success
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:034,55037,640,35413,520,0001,040,0002,273,280
2Aug 7, 2024 02:014,56136,568,98713,554,0001,042,0002,289,664
3Aug 7, 2024 02:034,56235,697,02013,555,0001,042,0002,289,664
4Aug 7, 2024 02:014,56340,273,91713,560,0001,043,0002,289,664
5Aug 7, 2024 02:034,56944,118,08414,621,00002,289,664
6Aug 7, 2024 02:014,57034,281,56513,579,0001,044,0002,273,280
7Aug 7, 2024 02:034,57644,048,81414,642,00002,289,664
8Aug 7, 2024 02:034,57731,612,74713,600,0001,046,0002,289,664
9Aug 7, 2024 02:034,57845,970,68113,604,0001,046,0002,289,664
10Aug 7, 2024 02:014,58033,908,81214,656,00002,289,664
11Aug 7, 2024 02:014,58141,745,88513,613,0001,047,0002,289,664
12Aug 7, 2024 02:034,58136,015,95913,611,0001,047,0002,289,664
13Aug 7, 2024 02:014,58231,551,51913,616,0001,047,0002,269,184
14Aug 7, 2024 02:034,58832,538,25314,681,00002,273,280
15Aug 7, 2024 02:014,59532,911,34713,655,0001,050,0002,285,568
16Aug 7, 2024 02:014,60744,107,57513,689,0001,053,0002,277,376
17Aug 7, 2024 02:014,63343,730,39612,850,0001,976,0002,289,664
18Aug 7, 2024 02:034,64140,637,83412,870,0001,980,0002,359,296
19Aug 7, 2024 02:014,81654,694,75515,412,51802,256,896
20Aug 7, 2024 02:014,81675,589,87115,410,99402,174,976
21Aug 7, 2024 02:034,82280,882,27815,429,19102,301,952
22Aug 7, 2024 02:034,82987,466,02715,452,79902,297,856
23Aug 7, 2024 02:014,848110,324,51915,514,16202,179,072
24Aug 7, 2024 02:034,86678,297,57415,569,87002,297,856