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 29, 2021 15:02Yuriy LyfenkoYuriy LyfenkoScore: 5,213Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 15:025,15632,242,57815,467,0001,031,0002,392,064
2May 29, 2021 15:025,16040,392,63916,511,00002,510,848
3May 29, 2021 15:025,16740,135,15616,534,00002,387,968
4May 29, 2021 15:025,16839,396,36015,503,0001,033,0002,392,064
5May 29, 2021 15:025,17033,539,78616,545,00002,265,088
6May 29, 2021 15:025,17736,138,84116,566,00002,265,088
7May 29, 2021 15:025,21345,288,80315,641,0001,042,0002,387,968
8May 29, 2021 15:025,21647,292,94916,690,00002,269,184
9May 29, 2021 15:025,21940,656,71115,658,0001,043,0002,265,088
10May 29, 2021 15:025,36982,864,72917,181,37602,273,280
11May 29, 2021 15:025,37071,841,56017,183,65302,289,664
12May 29, 2021 15:025,40958,485,49017,309,05502,273,280