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 5, 2021 04:43evgenikwtevgenikwtScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 04:435,23347,275,94115,700,0001,046,0002,265,088
2Jun 5, 2021 04:495,26845,006,02516,858,00002,527,232
3Jun 5, 2021 04:435,26937,326,62414,878,0001,983,0002,527,232
4Jun 5, 2021 04:495,27146,900,49715,876,000992,0002,265,088
5Jun 5, 2021 04:495,27432,510,89815,884,000992,0002,383,872
6Jun 5, 2021 04:495,27446,184,81115,884,000992,0002,265,088
7Jun 5, 2021 04:435,27542,545,84614,895,0001,986,0002,383,872
8Jun 5, 2021 04:435,27642,567,41014,898,0001,986,0002,392,064
9Jun 5, 2021 04:495,27649,307,67915,889,000993,0002,265,088
10Jun 5, 2021 04:435,27742,132,58714,900,0001,986,0002,265,088
11Jun 5, 2021 04:435,27736,699,77315,893,000993,0002,375,680
12Jun 5, 2021 04:495,27738,162,22714,899,0001,986,0002,392,064
13Jun 5, 2021 04:495,27945,304,83215,900,000993,0002,265,088
14Jun 5, 2021 04:495,28233,336,52114,913,0001,988,0002,265,088
15Jun 5, 2021 04:435,28732,644,52515,924,000995,0002,396,160
16Jun 5, 2021 04:495,29043,495,98715,933,000995,0002,265,088
17Jun 5, 2021 04:435,29031,927,69415,932,000995,0002,265,088
18Jun 5, 2021 04:435,29937,000,83915,960,000997,0002,265,088
19Jun 5, 2021 04:435,46097,727,63717,472,12302,273,280
20Jun 5, 2021 04:435,46477,240,10217,483,68202,281,472
21Jun 5, 2021 04:495,47188,672,47217,508,75302,285,568
22Jun 5, 2021 04:435,48685,932,10617,555,23402,277,376
23Jun 5, 2021 04:495,49085,309,23417,566,76702,285,568
24Jun 5, 2021 04:495,50191,248,58917,603,96702,281,472