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 listMay 11, 2021 17:21Andrey TsvetkovAndrey TsvetkovScore: 6,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:216,10743,377,14119,542,00002,527,232
2May 11, 2021 17:216,12346,978,99216,499,0003,093,0002,330,624
3May 11, 2021 17:216,13144,376,17019,620,00002,519,040
4May 11, 2021 17:216,13847,116,26118,610,0001,033,0002,547,712
5May 11, 2021 17:216,14041,360,85118,614,0001,034,0002,523,136
6May 11, 2021 17:216,15345,535,78918,653,0001,036,0002,527,232
7May 11, 2021 17:216,21148,643,65918,882,000993,0002,523,136
8May 11, 2021 17:216,21245,755,56618,885,000993,0002,326,528
9May 11, 2021 17:216,21444,815,53614,913,0004,971,0002,326,528
10May 11, 2021 17:216,24178,750,10019,971,91602,236,416
11May 11, 2021 17:216,24879,129,84519,993,77002,224,128
12May 11, 2021 17:216,256105,300,31420,019,70502,244,608
13May 11, 2021 17:216,265113,068,75320,049,04602,224,128
14May 11, 2021 17:216,31483,086,46920,204,98802,232,320
15May 11, 2021 17:216,34390,597,02920,299,12102,232,320