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 24, 2021 18:16Yuriy LyfenkoYuriy LyfenkoScore: 5,138Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:165,09235,829,44014,257,0002,036,0002,527,232
2May 24, 2021 18:165,09238,703,52516,294,00002,392,064
3May 24, 2021 18:165,09434,501,59815,284,0001,018,0002,400,256
4May 24, 2021 18:165,10344,654,19415,308,0001,020,0002,527,232
5May 24, 2021 18:165,10935,681,30716,348,00002,265,088
6May 24, 2021 18:165,13133,717,37216,420,00002,265,088
7May 24, 2021 18:165,13836,711,66716,441,00002,506,752
8May 24, 2021 18:165,13836,108,28415,476,000967,0002,265,088
9May 24, 2021 18:165,14040,739,72816,447,00002,265,088
10May 24, 2021 18:165,29237,721,92016,932,80102,285,568
11May 24, 2021 18:165,31857,452,60317,017,92902,289,664
12May 24, 2021 18:165,71680,034,85418,291,24502,273,280