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 listAug 11, 2022 15:35Bernard TeoBernard TeoScore: 5,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2022 15:365,45083,740,04817,438,89602,293,760
2Aug 11, 2022 15:365,45187,727,17917,444,04702,297,856
3Aug 11, 2022 15:355,45483,726,18617,453,47002,285,568
4Aug 11, 2022 15:355,46073,504,16117,472,63302,285,568
5Aug 11, 2022 15:375,46988,677,25617,500,40402,265,088
6Aug 11, 2022 15:375,47185,324,49017,505,82602,293,760
7Aug 11, 2022 15:365,47679,634,22917,521,60702,301,952
8Aug 11, 2022 15:375,48274,631,68117,541,88802,256,896
9Aug 11, 2022 15:375,48580,536,53417,552,03502,289,664
10Aug 11, 2022 15:375,48693,853,41917,554,17102,285,568
11Aug 11, 2022 15:355,50581,471,23417,614,56402,293,760
12Aug 11, 2022 15:375,50770,384,30317,621,79202,293,760