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 06:51AmirAmirScore: 5,909Success
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 06:515,86038,649,95817,710,0001,041,0002,289,664
2May 15, 2023 06:515,88542,276,58216,850,0001,982,0002,289,664
3May 15, 2023 06:515,89343,049,13217,864,000992,0002,527,232
4May 15, 2023 06:515,89645,978,55516,881,0001,986,0002,289,664
5May 15, 2023 06:515,89744,894,95816,885,0001,986,0002,277,376
6May 15, 2023 06:515,90244,641,93516,899,0001,988,0002,289,664
7May 15, 2023 06:515,90939,926,59716,920,0001,990,0002,289,664
8May 15, 2023 06:515,92041,994,53316,951,0001,994,0002,289,664
9May 15, 2023 06:516,042110,950,33019,332,99802,297,856
10May 15, 2023 06:516,04639,545,63318,329,0001,018,0002,289,664
11May 15, 2023 06:516,05798,135,34919,381,42902,297,856
12May 15, 2023 06:516,070100,337,43319,424,48502,297,856