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 26, 2021 21:13gchebanovgchebanovScore: 5,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 26, 2021 21:135,62335,317,92415,994,0001,999,0002,514,944
2Jun 26, 2021 21:135,63247,043,72916,019,0002,002,0002,519,040
3Jun 26, 2021 21:135,65444,064,70317,088,0001,005,0002,285,568
4Jun 26, 2021 21:135,65942,513,20416,097,0002,012,0002,510,848
5Jun 26, 2021 21:135,66236,380,14316,105,0002,013,0002,510,848
6Jun 26, 2021 21:135,67144,354,42516,130,0002,016,0002,510,848
7Jun 26, 2021 21:135,67147,298,29916,131,0002,016,0002,285,568
8Jun 26, 2021 21:135,67245,549,46116,133,0002,016,0002,510,848
9Jun 26, 2021 21:135,68978,138,35518,204,70702,265,088
10Jun 26, 2021 21:135,69835,365,74516,207,0002,025,0002,285,568
11Jun 26, 2021 21:135,74663,700,53618,385,90102,273,280
12Jun 26, 2021 21:135,76573,855,13818,449,16902,277,376