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 5, 2021 05:27Ilya AniskovetsIlya AniskovetsScore: 5,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 05:275,45438,337,13916,427,0001,026,0002,392,064
2Sep 5, 2021 05:275,45836,413,63117,467,00002,289,664
3Sep 5, 2021 05:275,46535,965,20616,460,0001,028,0002,289,664
4Sep 5, 2021 05:275,47440,214,50616,486,0001,030,0002,289,664
5Sep 5, 2021 05:275,47940,191,92116,501,0001,031,0002,269,184
6Sep 5, 2021 05:275,49150,024,50816,537,0001,033,0002,289,664
7Sep 5, 2021 05:275,50545,304,74716,579,0001,036,0002,289,664
8Sep 5, 2021 05:275,51643,168,54716,614,0001,038,0002,289,664
9Sep 5, 2021 05:275,52642,477,43117,682,00002,289,664
10Sep 5, 2021 05:275,65773,887,11218,102,66702,297,856
11Sep 5, 2021 05:275,68569,028,13018,190,68902,297,856
12Sep 5, 2021 05:275,70390,839,65618,250,66002,301,952