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 listOct 27, 2021 09:27Ilya AniskovetsIlya AniskovetsScore: 5,401Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 09:285,34346,342,14215,085,0002,011,0002,265,088
2Oct 27, 2021 09:265,34447,078,96915,089,0002,011,0002,265,088
3Oct 27, 2021 09:285,34939,253,36216,110,0001,006,0002,269,184
4Oct 27, 2021 09:285,35332,888,39015,113,0002,015,0002,383,872
5Oct 27, 2021 09:285,36037,265,67415,135,0002,018,0002,527,232
6Oct 27, 2021 09:265,36642,391,03816,162,0001,010,0002,527,232
7Oct 27, 2021 09:285,37040,552,36515,162,0002,021,0002,265,088
8Oct 27, 2021 09:265,38348,740,49616,211,0001,013,0002,392,064
9Oct 27, 2021 09:265,39446,031,53215,231,0002,030,0002,265,088
10Oct 27, 2021 09:285,39450,017,35916,245,0001,015,0002,392,064
11Oct 27, 2021 09:265,39638,421,12716,252,0001,015,0002,396,160
12Oct 27, 2021 09:285,39838,659,95017,273,00002,265,088
13Oct 27, 2021 09:265,39836,464,81617,274,00002,265,088
14Oct 27, 2021 09:285,40144,036,66716,267,0001,016,0002,265,088
15Oct 27, 2021 09:265,40443,170,23715,260,0002,034,0002,392,064
16Oct 27, 2021 09:265,40436,718,58716,276,0001,017,0002,265,088
17Oct 27, 2021 09:285,41450,544,27716,305,0001,019,0002,265,088
18Oct 27, 2021 09:265,42435,600,74215,315,0002,042,0002,473,984
19Oct 27, 2021 09:265,557100,120,64217,783,16002,281,472
20Oct 27, 2021 09:265,57577,751,49917,839,16402,281,472
21Oct 27, 2021 09:265,59187,000,93817,892,73902,277,376
22Oct 27, 2021 09:285,59460,264,15117,900,82302,289,664
23Oct 27, 2021 09:285,60089,071,48517,919,21702,285,568
24Oct 27, 2021 09:285,60689,053,41117,940,23402,277,376
25Oct 27, 2021 09:276,61582,314,31621,169,33502,277,376
26Oct 27, 2021 09:276,624103,322,61421,195,90202,285,568
27Oct 27, 2021 09:276,65596,066,31721,296,33102,285,568