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 22, 2021 13:18Vladimir KuryakovVladimir KuryakovScore: 5,748Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 13:185,69345,014,58316,195,0002,024,0002,519,040
2May 22, 2021 13:185,71339,572,81216,251,0002,031,0002,519,040
3May 22, 2021 13:185,71435,789,37318,285,00002,519,040
4May 22, 2021 13:185,71544,708,57116,256,0002,032,0002,519,040
5May 22, 2021 13:185,72241,651,15316,277,0002,034,0002,469,888
6May 22, 2021 13:185,72850,735,27616,293,0002,036,0002,519,040
7May 22, 2021 13:185,74744,391,17117,368,0001,021,0002,519,040
8May 22, 2021 13:185,74845,200,56417,371,0001,021,0002,383,872
9May 22, 2021 13:185,75237,753,43317,383,0001,022,0002,519,040
10May 22, 2021 13:185,96985,152,35019,099,20802,281,472
11May 22, 2021 13:185,98589,946,66319,150,73002,281,472
12May 22, 2021 13:185,99891,595,09019,193,63702,277,376
13May 22, 2021 13:186,00085,106,82419,200,42502,277,376
14May 22, 2021 13:186,00982,547,41919,227,33602,289,664
15May 22, 2021 13:186,03874,342,27319,321,07102,277,376