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 07:56parsersmailparsersmailScore: 5,753Success
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 07:565,72137,536,56016,273,0002,034,0002,347,008
2Aug 10, 2023 07:565,72343,065,04917,298,0001,017,0002,347,008
3Aug 10, 2023 07:565,72544,673,24216,284,0002,035,0002,293,760
4Aug 10, 2023 07:565,72844,622,71116,293,0002,036,0002,297,856
5Aug 10, 2023 07:565,72843,442,19317,312,0001,018,0002,301,952
6Aug 10, 2023 07:565,74142,106,65416,330,0002,041,0002,347,008
7Aug 10, 2023 07:565,75340,579,57016,364,0002,045,0002,347,008
8Aug 10, 2023 07:565,75598,296,67818,416,45702,244,608
9Aug 10, 2023 07:565,76540,696,15517,423,0001,024,0002,297,856
10Aug 10, 2023 07:565,79137,817,29317,501,0001,029,0002,347,008
11Aug 10, 2023 07:565,80662,923,29318,578,07702,260,992
12Aug 10, 2023 07:565,92484,163,21618,957,46702,252,800