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 listJan 23, 2024 19:03AnSaAnSaScore: 5,190Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 19:035,17139,183,24916,548,00002,281,472
2Jan 23, 2024 19:035,17330,100,52116,554,00002,281,472
3Jan 23, 2024 19:035,17745,141,41115,532,0001,035,0002,281,472
4Jan 23, 2024 19:035,17940,040,83715,538,0001,035,0002,396,160
5Jan 23, 2024 19:035,18438,524,89515,554,0001,036,0002,392,064
6Jan 23, 2024 19:035,18832,758,59115,566,0001,037,0002,392,064
7Jan 23, 2024 19:035,19037,480,92416,608,00002,281,472
8Jan 23, 2024 19:035,20142,784,98916,642,00002,281,472
9Jan 23, 2024 19:035,21844,990,88415,654,0001,043,0002,392,064
10Jan 23, 2024 19:035,39388,064,31717,258,23802,281,472
11Jan 23, 2024 19:035,40061,001,59517,279,22502,293,760
12Jan 23, 2024 19:035,41857,814,48417,338,05902,289,664