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 19:09Andrey TsvetkovAndrey TsvetkovScore: 6,151Success
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 19:096,11342,496,81519,563,00002,326,528
2May 11, 2021 19:096,11739,983,54018,544,0001,030,0002,326,528
3May 11, 2021 19:096,12944,934,71917,549,0002,064,0002,326,528
4May 11, 2021 19:096,13847,768,57616,540,0003,101,0002,510,848
5May 11, 2021 19:096,14444,195,40718,628,0001,034,0002,523,136
6May 11, 2021 19:096,14747,245,87218,635,0001,035,0002,326,528
7May 11, 2021 19:096,15147,935,95118,648,0001,036,0002,519,040
8May 11, 2021 19:096,16040,238,75719,711,00002,506,752
9May 11, 2021 19:096,17040,549,49919,743,00002,519,040
10May 11, 2021 19:096,19489,088,49019,820,45902,211,840
11May 11, 2021 19:096,24893,952,91619,993,46702,228,224
12May 11, 2021 19:096,30095,100,68520,159,85702,220,032