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 13, 2021 19:49alex3dalex3dScore: 4,825Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:494,75043,884,32814,186,0001,013,0002,523,136
2May 13, 2021 19:494,78740,029,73613,275,0002,042,0002,519,040
3May 13, 2021 19:494,80234,555,68515,365,00002,519,040
4May 13, 2021 19:494,80637,329,20713,330,0002,050,0002,519,040
5May 13, 2021 19:494,80836,456,43815,384,00002,387,968
6May 13, 2021 19:494,81446,410,95715,405,00002,387,968
7May 13, 2021 19:494,82535,383,99614,412,0001,029,0002,482,176
8May 13, 2021 19:494,84432,286,91314,469,0001,033,0002,478,080
9May 13, 2021 19:494,85238,133,47213,456,0002,070,0002,396,160
10May 13, 2021 19:495,05885,757,45016,184,97102,277,376
11May 13, 2021 19:495,07593,222,06116,238,95202,289,664
12May 13, 2021 19:495,10785,826,95316,342,66902,281,472