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 18, 2023 07:07Alexander MonakovAlexander MonakovScore: 4,548Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 07:074,48828,738,23114,360,00002,494,464
2Mar 18, 2023 07:074,51630,535,32814,450,00002,490,368
3Mar 18, 2023 07:074,52130,810,28114,468,00002,277,376
4Mar 18, 2023 07:074,52429,895,89214,477,00002,494,464
5Mar 18, 2023 07:074,53937,809,63514,524,00002,498,560
6Mar 18, 2023 07:074,54436,410,75014,542,00002,498,560
7Mar 18, 2023 07:074,54828,020,77014,554,00002,494,464
8Mar 18, 2023 07:074,54927,073,96114,556,00002,494,464
9Mar 18, 2023 07:074,56140,901,58414,595,00002,277,376
10Mar 18, 2023 07:074,72483,508,20415,118,06302,236,416
11Mar 18, 2023 07:074,733102,557,55615,146,49102,260,992
12Mar 18, 2023 07:074,78784,825,97915,318,08802,232,320