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 10, 2023 09:28parsersmailparsersmailScore: 5,757Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 08:485,69338,746,84617,206,0001,012,0002,289,664
2Aug 10, 2023 09:285,71238,885,70817,264,0001,015,0002,293,760
3Aug 10, 2023 09:285,71335,881,50316,250,0002,031,0002,347,008
4Aug 10, 2023 08:485,72239,362,93817,292,0001,017,0002,297,856
5Aug 10, 2023 09:285,72439,024,57817,301,0001,017,0002,297,856
6Aug 10, 2023 08:485,72646,055,10417,305,0001,017,0002,285,568
7Aug 10, 2023 09:285,72786,819,63518,325,61202,252,800
8Aug 10, 2023 09:285,73145,320,41716,303,0002,037,0002,347,008
9Aug 10, 2023 08:485,73637,612,39816,317,0002,039,0002,347,008
10Aug 10, 2023 08:485,74539,273,57116,343,0002,042,0002,347,008
11Aug 10, 2023 08:485,75489,760,60418,413,09702,244,608
12Aug 10, 2023 09:285,75581,121,42518,414,55102,265,088
13Aug 10, 2023 09:285,75736,559,15218,423,00002,347,008
14Aug 10, 2023 08:485,75945,911,29418,428,00002,289,664
15Aug 10, 2023 08:485,76233,912,59718,437,00002,347,008
16Aug 10, 2023 09:285,76835,320,57618,459,00002,285,568
17Aug 10, 2023 08:485,76984,053,69518,460,12202,244,608
18Aug 10, 2023 08:485,77541,165,08317,453,0001,026,0002,347,008
19Aug 10, 2023 08:485,78437,665,67817,480,0001,028,0002,347,008
20Aug 10, 2023 09:285,98977,656,24119,165,10602,248,704
21Aug 10, 2023 08:485,99994,267,24219,198,08202,248,704
22Aug 10, 2023 09:286,19851,973,50415,868,0003,967,0002,347,008
23Aug 10, 2023 09:286,21247,481,22417,890,0001,987,0002,523,136
24Aug 10, 2023 09:286,24049,071,81215,974,0003,993,0002,347,008