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 3, 2022 15:55Sergey StreminSergey StreminScore: 5,351Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2022 15:555,32643,514,98415,037,0002,005,0002,375,680
2Aug 3, 2022 15:555,32745,048,63916,043,0001,002,0002,289,664
3Aug 3, 2022 15:555,33134,006,90716,055,0001,003,0002,289,664
4Aug 3, 2022 15:555,33347,543,55415,057,0002,007,0002,371,584
5Aug 3, 2022 15:555,33944,487,45816,081,0001,005,0002,371,584
6Aug 3, 2022 15:555,34132,739,79915,081,0002,010,0002,289,664
7Aug 3, 2022 15:555,35142,104,48115,109,0002,014,0002,371,584
8Aug 3, 2022 15:555,36744,888,75715,153,0002,020,0002,363,392
9Aug 3, 2022 15:555,37642,524,08915,179,0002,023,0002,289,664
10Aug 3, 2022 15:555,52893,853,15517,690,28902,240,512
11Aug 3, 2022 15:555,54790,603,03517,749,67402,244,608
12Aug 3, 2022 15:555,55489,502,04917,773,20002,244,608