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:31parsersmailparsersmailScore: 5,846Success
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 09:315,79539,821,68418,543,00002,289,664
2Aug 10, 2023 09:315,81742,448,25817,581,0001,034,0002,347,008
3Aug 10, 2023 09:315,82248,540,73416,560,0002,070,0002,281,472
4Aug 10, 2023 09:315,82443,864,69917,601,0001,035,0002,428,928
5Aug 10, 2023 09:315,83945,082,10917,647,0001,038,0002,347,008
6Aug 10, 2023 09:315,841110,686,89218,690,77902,256,896
7Aug 10, 2023 09:315,84647,068,73718,707,00002,387,968
8Aug 10, 2023 09:315,85348,914,65316,648,0002,081,0002,347,008
9Aug 10, 2023 09:315,89445,132,73817,870,000992,0002,347,008
10Aug 10, 2023 09:315,902103,382,43618,885,57502,244,608
11Aug 10, 2023 09:315,90542,975,29315,914,0002,983,0002,281,472
12Aug 10, 2023 09:315,980104,448,21319,135,69202,252,800