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 listJun 3, 2021 04:16Yuriy LyfenkoYuriy LyfenkoScore: 5,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 04:165,103537,944,37315,311,0001,020,0002,281,472
2Jun 3, 2021 04:165,108543,707,10016,345,00002,281,472
3Jun 3, 2021 04:165,108538,123,04715,326,0001,021,0002,273,280
4Jun 3, 2021 04:165,112537,205,22516,358,00002,281,472
5Jun 3, 2021 04:165,130542,134,36216,416,00002,273,280
6Jun 3, 2021 04:165,133543,094,08016,427,00002,273,280
7Jun 3, 2021 04:165,147541,705,26415,442,0001,029,0002,281,472
8Jun 3, 2021 04:165,157547,061,68616,501,00002,396,160
9Jun 3, 2021 04:165,163544,898,73116,521,00002,273,280
10Jun 3, 2021 04:165,234569,085,62516,747,38002,252,800
11Jun 3, 2021 04:165,282576,758,40716,901,19002,285,568
12Jun 3, 2021 04:165,290577,013,19316,928,95302,256,896