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 listFeb 20, 2023 20:14Andranik ChakiryanAndranik ChakiryanScore: 6,005Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2023 20:145,98945,555,53717,148,0002,017,0002,355,200
2Feb 20, 2023 20:145,99439,638,31817,163,0002,019,0002,342,912
3Feb 20, 2023 20:145,99784,593,48219,189,69102,306,048
4Feb 20, 2023 20:145,99839,163,77018,185,0001,010,0002,355,200
5Feb 20, 2023 20:146,00138,097,02118,194,0001,010,0002,355,200
6Feb 20, 2023 20:146,00247,787,87218,197,0001,010,0002,351,104
7Feb 20, 2023 20:146,00544,153,27018,205,0001,011,0002,351,104
8Feb 20, 2023 20:146,02841,655,12417,258,0002,030,0002,342,912
9Feb 20, 2023 20:146,03245,782,48418,287,0001,015,0002,342,912
10Feb 20, 2023 20:146,05541,849,31517,336,0002,039,0002,347,008
11Feb 20, 2023 20:146,07576,346,37319,438,54402,179,072
12Feb 20, 2023 20:146,13671,235,55819,636,62302,183,168