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 listSep 4, 2021 22:07Andrey TsvetkovAndrey TsvetkovScore: 5,654Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:075,59442,208,19915,912,0001,989,0002,347,008
2Sep 4, 2021 22:075,60543,502,07816,941,000996,0002,342,912
3Sep 4, 2021 22:075,61248,424,04915,964,0001,995,0002,433,024
4Sep 4, 2021 22:075,61343,974,14116,964,000997,0002,428,928
5Sep 4, 2021 22:075,62645,626,80317,003,0001,000,0002,428,928
6Sep 4, 2021 22:075,62738,051,98916,005,0002,000,0002,338,816
7Sep 4, 2021 22:075,65470,976,34518,093,18902,281,472
8Sep 4, 2021 22:075,65546,178,02416,085,0002,010,0002,342,912
9Sep 4, 2021 22:075,66045,872,50717,106,0001,006,0002,428,928
10Sep 4, 2021 22:075,669116,350,16618,139,86002,281,472
11Sep 4, 2021 22:075,68160,720,53918,178,30002,273,280
12Sep 4, 2021 22:075,68653,904,96016,174,0002,021,0002,437,120