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 19, 2022 12:51Andrey TsvetkovAndrey TsvetkovScore: 5,619Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2022 12:515,58444,188,09915,884,0001,985,0002,330,624
2Jan 19, 2022 12:515,58646,637,88216,883,000993,0002,342,912
3Jan 19, 2022 12:515,58937,314,78817,884,00002,338,816
4Jan 19, 2022 12:515,59046,806,97916,894,000993,0002,486,272
5Jan 19, 2022 12:515,59434,755,46516,908,000994,0002,502,656
6Jan 19, 2022 12:515,60932,372,68816,953,000997,0002,494,464
7Jan 19, 2022 12:515,61993,303,78117,979,79102,211,840
8Jan 19, 2022 12:515,62745,664,47417,006,0001,000,0002,498,560
9Jan 19, 2022 12:515,62835,262,10216,008,0002,001,0002,342,912
10Jan 19, 2022 12:515,62845,117,90317,010,0001,000,0002,338,816
11Jan 19, 2022 12:515,64569,939,37818,064,77702,195,456
12Jan 19, 2022 12:515,73156,526,22618,337,73102,191,360