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:07Yuriy LyfenkoYuriy LyfenkoScore: 5,614Success
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:075,58741,059,83915,891,0001,986,0002,523,136
2May 11, 2021 19:075,58744,721,72815,893,0001,986,0002,260,992
3May 11, 2021 19:075,59742,204,75315,921,0001,990,0002,383,872
4May 11, 2021 19:075,60342,777,35815,938,0001,992,0002,392,064
5May 11, 2021 19:075,60945,634,65216,953,000997,0002,396,160
6May 11, 2021 19:075,61142,775,60916,957,000997,0002,519,040
7May 11, 2021 19:075,61433,322,84915,970,0001,996,0002,260,992
8May 11, 2021 19:075,61846,535,54815,981,0001,997,0002,392,064
9May 11, 2021 19:075,62046,329,68115,987,0001,998,0002,396,160
10May 11, 2021 19:075,81579,695,68918,607,69402,281,472
11May 11, 2021 19:075,83094,354,59418,654,99802,281,472
12May 11, 2021 19:075,88681,749,69218,834,85602,285,568