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 12:04parsersmailparsersmailScore: 5,768Success
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 12:045,70048,715,14416,215,0002,026,0002,347,008
2Aug 10, 2023 12:045,71750,579,21917,277,0001,016,0002,347,008
3Aug 10, 2023 12:045,71941,958,64316,269,0002,033,0002,347,008
4Aug 10, 2023 12:045,76138,611,55515,362,0003,072,0002,289,664
5Aug 10, 2023 12:045,76285,002,10518,439,52202,256,896
6Aug 10, 2023 12:045,76344,299,75516,394,0002,049,0002,289,664
7Aug 10, 2023 12:045,76840,158,02617,432,0001,025,0002,347,008
8Aug 10, 2023 12:045,77699,189,19418,481,99902,252,800
9Aug 10, 2023 12:045,78382,374,35518,506,10702,248,704
10Aug 10, 2023 12:045,78439,753,61318,509,00002,547,712
11Aug 10, 2023 12:045,79742,372,33317,519,0001,030,0002,297,856
12Aug 10, 2023 12:046,02740,126,74817,255,0002,030,0002,293,760