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 21:06Alexander MonakovAlexander MonakovScore: 8,245Success
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 21:065,52755,517,62517,687,92902,293,760
2Mar 15, 2023 21:065,53589,875,57817,710,40602,297,856
3Mar 15, 2023 21:065,55075,631,40017,760,12002,289,664
4Mar 15, 2023 21:068,23350,697,92416,212,00010,132,0002,433,024
5Mar 15, 2023 21:068,24253,907,69613,187,00013,187,0002,383,872
6Mar 15, 2023 21:068,24456,191,97319,278,0007,102,0002,383,872
7Mar 15, 2023 21:068,24551,687,08014,207,00012,177,0002,383,872
8Mar 15, 2023 21:068,24744,217,12717,255,0009,135,0002,383,872
9Mar 15, 2023 21:068,26955,148,31517,302,0009,160,0002,383,872
10Mar 15, 2023 21:068,27150,484,23817,305,0009,161,0002,433,024
11Mar 15, 2023 21:068,28647,433,48219,376,0007,138,0002,383,872
12Mar 15, 2023 21:068,39451,741,62816,913,0009,948,0002,437,120