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 23, 2021 19:40Sergey StreminSergey StreminScore: 5,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 19:405,31641,735,93416,011,0001,000,0002,371,584
2May 23, 2021 19:405,31744,660,02516,014,0001,000,0002,375,680
3May 23, 2021 19:405,32143,727,77515,025,0002,003,0002,289,664
4May 23, 2021 19:405,33243,659,67516,060,0001,003,0002,478,080
5May 23, 2021 19:405,33846,268,57416,078,0001,004,0002,289,664
6May 23, 2021 19:405,34037,518,01115,079,0002,010,0002,469,888
7May 23, 2021 19:405,34140,330,44115,080,0002,010,0002,375,680
8May 23, 2021 19:405,34143,318,71115,081,0002,010,0002,289,664
9May 23, 2021 19:405,35841,369,68816,138,0001,008,0002,371,584
10May 23, 2021 19:405,52085,537,70117,665,00602,244,608
11May 23, 2021 19:405,53584,600,48717,710,61902,248,704
12May 23, 2021 19:405,54461,101,57017,739,41002,236,416