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 listMar 15, 2023 19:38Alexander MonakovAlexander MonakovScore: 5,217Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 19:385,17744,960,31715,531,0001,035,0002,281,472
2Mar 15, 2023 19:385,18142,647,66215,542,0001,036,0002,281,472
3Mar 15, 2023 19:385,19741,353,61015,591,0001,039,0002,281,472
4Mar 15, 2023 19:385,19846,930,31015,596,0001,039,0002,396,160
5Mar 15, 2023 19:385,20643,159,02015,617,0001,041,0002,281,472
6Mar 15, 2023 19:385,21647,052,94715,649,0001,043,0002,404,352
7Mar 15, 2023 19:385,21745,093,73416,693,00002,396,160
8Mar 15, 2023 19:385,21952,629,83115,658,0001,043,0002,408,448
9Mar 15, 2023 19:385,22036,752,98415,661,0001,044,0002,281,472
10Mar 15, 2023 19:385,39294,133,63317,253,51502,273,280
11Mar 15, 2023 19:385,400109,878,28117,280,76502,289,664
12Mar 15, 2023 19:385,41698,899,45217,329,88402,289,664