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 listJun 2, 2021 13:54Yuriy LyfenkoYuriy LyfenkoScore: 5,056Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 13:545,01627,634,36815,048,0001,003,0002,400,256
2Jun 2, 2021 13:545,01738,641,86915,050,0001,003,0002,281,472
3Jun 2, 2021 13:545,01845,662,27315,053,0001,003,0002,408,448
4Jun 2, 2021 13:545,01840,609,29414,051,0002,007,0002,408,448
5Jun 2, 2021 13:545,01933,149,88014,055,0002,007,0002,408,448
6Jun 2, 2021 13:545,04037,058,49415,120,0001,008,0002,281,472
7Jun 2, 2021 13:545,05639,530,99914,157,0002,022,0002,412,544
8Jun 2, 2021 13:545,05933,830,53514,167,0002,023,0002,404,352
9Jun 2, 2021 13:545,06335,748,17414,175,0002,025,0002,404,352
10Jun 2, 2021 13:545,21081,925,68616,670,71702,289,664
11Jun 2, 2021 13:545,25183,382,01516,802,05202,289,664
12Jun 2, 2021 13:545,27192,226,57816,867,20502,293,760