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 17, 2021 23:32Yuriy LyfenkoYuriy LyfenkoScore: 5,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:325,283187,863,11715,912,000994,0002,265,088
2May 17, 2021 23:325,2931,423,517,42314,945,0001,992,0002,392,064
3May 17, 2021 23:325,2932,085,913,92616,937,00002,523,136
4May 17, 2021 23:325,295891,558,59815,948,000996,0002,519,040
5May 17, 2021 23:325,3002,434,929,63514,964,0001,995,0002,260,992
6May 17, 2021 23:325,316324,568,99615,010,0002,001,0002,265,088
7May 17, 2021 23:325,3231,669,081,58115,030,0002,004,0002,387,968
8May 17, 2021 23:325,3262,129,997,24716,098,000946,0002,519,040
9May 17, 2021 23:325,358773,320,22816,138,0001,008,0002,260,992
10May 17, 2021 23:325,429878,847,40217,374,12802,281,472
11May 17, 2021 23:325,4511,767,944,68217,444,45102,285,568
12May 17, 2021 23:325,4892,703,866,48817,565,15302,281,472