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 16, 2021 12:25Yuriy LyfenkoYuriy LyfenkoScore: 5,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 12:245,41144,708,09314,429,0002,885,0002,392,064
2May 16, 2021 12:245,43046,765,13816,411,000965,0002,379,776
3May 16, 2021 12:245,43646,958,60716,428,000966,0002,387,968
4May 16, 2021 12:245,43844,462,95315,467,0001,933,0002,392,064
5May 16, 2021 12:245,44249,370,39115,479,0001,934,0002,265,088
6May 16, 2021 12:245,44639,342,56116,458,000968,0002,392,064
7May 16, 2021 12:245,44845,998,54016,466,000968,0002,387,968
8May 16, 2021 12:245,47143,928,95316,536,000972,0002,375,680
9May 16, 2021 12:245,48045,218,67715,587,0001,948,0002,396,160
10May 16, 2021 12:245,62083,095,60017,985,09602,277,376
11May 16, 2021 12:255,64550,657,74617,062,0001,003,0002,387,968
12May 16, 2021 12:255,64946,883,43815,951,0002,126,0002,269,184
13May 16, 2021 12:255,65044,091,03717,077,0001,004,0002,265,088
14May 16, 2021 12:245,65678,706,78618,098,15002,281,472
15May 16, 2021 12:255,68745,447,12318,197,00002,527,232
16May 16, 2021 12:245,69082,254,87118,208,43902,281,472
17May 16, 2021 12:255,69343,408,63816,300,0001,917,0002,265,088
18May 16, 2021 12:255,69649,353,82616,309,0001,918,0002,265,088
19May 16, 2021 12:255,69744,941,09916,311,0001,919,0002,265,088
20May 16, 2021 12:255,70049,543,47817,281,000960,0002,265,088
21May 16, 2021 12:255,70647,858,26816,338,0001,922,0002,392,064
22May 16, 2021 12:256,14391,772,55519,656,25502,277,376
23May 16, 2021 12:256,14479,644,45419,661,72802,277,376
24May 16, 2021 12:256,160103,132,05619,712,81002,281,472