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 15, 2023 05:52AmirAmirScore: 5,842Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 05:525,78840,488,11318,521,00002,273,280
2May 15, 2023 05:525,80343,470,69818,569,00002,273,280
3May 15, 2023 05:525,80946,612,58817,558,0001,032,0002,289,664
4May 15, 2023 05:525,81543,834,67217,576,0001,033,0002,523,136
5May 15, 2023 05:525,82044,056,48418,623,00002,269,184
6May 15, 2023 05:525,83546,579,10317,636,0001,037,0002,289,664
7May 15, 2023 05:525,84244,854,86217,655,0001,038,0002,289,664
8May 15, 2023 05:525,84244,528,65817,655,0001,038,0002,289,664
9May 15, 2023 05:525,88642,176,63616,853,0001,982,0002,355,200
10May 15, 2023 05:526,09390,997,99019,498,77802,293,760
11May 15, 2023 05:526,09791,395,68419,509,05102,297,856
12May 15, 2023 05:526,143107,564,13719,657,83202,293,760