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:32Yuriy LyfenkoYuriy LyfenkoScore: 5,589Success
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:325,57936,165,83915,871,0001,983,0002,383,872
2May 11, 2021 19:325,58643,066,81816,881,000993,0002,383,872
3May 11, 2021 19:325,58650,789,77615,889,0001,986,0002,519,040
4May 11, 2021 19:325,58636,754,56117,876,00002,519,040
5May 11, 2021 19:325,58745,410,12316,884,000993,0002,523,136
6May 11, 2021 19:325,58735,675,21716,885,000993,0002,392,064
7May 11, 2021 19:325,58945,161,13915,898,0001,987,0002,519,040
8May 11, 2021 19:325,59047,730,30514,908,0002,981,0002,519,040
9May 11, 2021 19:325,60838,086,04116,949,000997,0002,519,040
10May 11, 2021 19:325,81959,415,83318,620,71602,285,568
11May 11, 2021 19:325,84075,385,96818,689,31502,281,472
12May 11, 2021 19:325,87476,458,20718,796,50902,281,472