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 28, 2022 20:38Franek KortaFranek KortaScore: 4,783Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2022 20:384,76334,175,84414,226,0001,016,0002,531,328
2Aug 28, 2022 20:384,76336,128,36314,224,0001,016,0002,437,120
3Aug 28, 2022 20:384,76935,908,07714,243,0001,017,0002,269,184
4Aug 28, 2022 20:384,76932,678,81413,226,0002,034,0002,433,024
5Aug 28, 2022 20:384,77240,804,05514,252,0001,018,0002,428,928
6Aug 28, 2022 20:384,77344,157,20614,254,0001,018,0002,433,024
7Aug 28, 2022 20:384,77531,398,15013,244,0002,037,0002,531,328
8Aug 28, 2022 20:384,77830,232,18714,271,0001,019,0002,269,184
9Aug 28, 2022 20:384,77834,224,69014,271,0001,019,0002,420,736
10Aug 28, 2022 20:384,78038,630,13514,277,0001,019,0002,269,184
11Aug 28, 2022 20:384,78037,919,78312,238,0003,059,0002,437,120
12Aug 28, 2022 20:384,78031,672,71114,277,0001,019,0002,437,120
13Aug 28, 2022 20:384,78330,287,92414,287,0001,020,0002,433,024
14Aug 28, 2022 20:384,78634,529,09714,294,0001,021,0002,433,024
15Aug 28, 2022 20:384,79836,358,34713,308,0002,047,0002,531,328
16Aug 28, 2022 20:384,80328,741,52115,368,00002,531,328
17Aug 28, 2022 20:384,80830,599,04513,334,0002,051,0002,269,184
18Aug 28, 2022 20:384,81438,494,74214,378,0001,027,0002,428,928
19Aug 28, 2022 20:385,00693,257,62516,018,74402,191,360
20Aug 28, 2022 20:385,02480,633,13416,075,66502,191,360
21Aug 28, 2022 20:385,02583,125,64216,078,81002,199,552
22Aug 28, 2022 20:385,04482,808,06716,139,20102,199,552
23Aug 28, 2022 20:385,04884,123,16216,153,13002,187,264
24Aug 28, 2022 20:385,05481,965,55916,172,30202,187,264