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 listMay 27, 2021 15:26Egor SergeevEgor SergeevScore: 5,177Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 15:265,12429,933,06916,397,00002,502,656
2May 27, 2021 15:265,13733,313,58516,437,00002,498,560
3May 27, 2021 15:265,13841,374,84316,441,00002,502,656
4May 27, 2021 15:265,15043,085,17316,481,00002,277,376
5May 27, 2021 15:265,15333,868,87816,489,00002,535,424
6May 27, 2021 15:265,16836,070,19616,538,00002,494,464
7May 27, 2021 15:265,17739,327,03016,566,00002,535,424
8May 27, 2021 15:265,18143,268,89116,578,00002,502,656
9May 27, 2021 15:265,20739,326,06616,662,00002,277,376
10May 27, 2021 15:265,38999,385,40417,243,49102,248,704
11May 27, 2021 15:265,40075,049,26517,281,05702,240,512
12May 27, 2021 15:265,41651,833,04317,331,07302,240,512