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 19:57Yuriy LyfenkoYuriy LyfenkoScore: 5,357Success
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 19:575,327896,550,17116,043,0001,002,0002,260,992
2May 17, 2021 19:575,3281,754,059,00616,047,0001,002,0002,265,088
3May 17, 2021 19:575,3382,958,999,06517,080,00002,269,184
4May 17, 2021 19:575,3411,494,520,13916,087,0001,005,0002,269,184
5May 17, 2021 19:575,3472,527,581,20616,105,0001,006,0002,269,184
6May 17, 2021 19:575,348498,879,93116,107,0001,006,0002,265,088
7May 17, 2021 19:575,3572,576,591,66915,126,0002,016,0002,523,136
8May 17, 2021 19:575,3592,214,105,90915,132,0002,017,0002,265,088
9May 17, 2021 19:575,3721,208,065,83016,179,0001,011,0002,265,088
10May 17, 2021 19:575,5361,648,448,37217,714,20902,277,376
11May 17, 2021 19:575,5402,717,386,50817,726,78502,277,376
12May 17, 2021 19:575,549509,627,34117,755,74302,277,376