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 7, 2021 20:40piculpiculScore: 5,459Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2021 20:405,41897,251,91117,337,06302,306,048
2Sep 8, 2021 13:265,43756,373,32217,397,18702,179,072
3Sep 8, 2021 13:225,43980,772,52317,405,61302,256,896
4Sep 8, 2021 13:265,45685,457,18717,458,88802,297,856
5Sep 7, 2021 20:405,45994,090,92717,467,42202,289,664
6Sep 7, 2021 20:405,46881,084,90317,498,59902,301,952
7Sep 8, 2021 13:225,49083,645,79217,567,30102,297,856
8Sep 8, 2021 13:225,49279,770,42017,574,86402,174,976
9Sep 8, 2021 13:265,49989,326,88917,596,81602,293,760