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 18:26Yuriy LyfenkoYuriy LyfenkoScore: 5,461Success
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 18:265,4042,730,290,44916,277,0001,017,0002,523,136
2May 16, 2021 18:265,4121,780,876,92913,470,0003,848,0002,523,136
3May 16, 2021 18:255,4132,188,713,25814,434,0002,886,0002,523,136
4May 16, 2021 18:265,4162,788,126,91114,444,0002,888,0002,523,136
5May 16, 2021 18:255,419339,151,75616,320,0001,020,0002,265,088
6May 16, 2021 18:255,423642,657,54215,311,0002,041,0002,383,872
7May 16, 2021 18:265,4242,749,782,35916,392,000964,0002,527,232
8May 16, 2021 18:265,436724,314,12815,462,0001,932,0002,523,136
9May 16, 2021 18:265,437710,224,80917,397,00002,523,136
10May 16, 2021 18:265,4381,783,565,28615,354,0002,047,0002,527,232
11May 16, 2021 18:265,4391,800,402,94116,382,0001,023,0002,265,088
12May 16, 2021 18:255,4461,857,305,55915,490,0001,936,0002,527,232
13May 16, 2021 18:265,4482,167,033,13814,358,0003,076,0002,265,088
14May 16, 2021 18:255,450324,992,21816,471,000968,0002,400,256
15May 16, 2021 18:265,4532,608,261,91515,510,0001,938,0002,260,992
16May 16, 2021 18:265,4601,884,729,81015,418,0002,055,0002,523,136
17May 16, 2021 18:265,4611,938,164,51715,534,0001,941,0002,260,992
18May 16, 2021 18:265,4612,645,627,79615,534,0001,941,0002,265,088
19May 16, 2021 18:265,461863,610,93216,504,000970,0002,265,088
20May 16, 2021 18:255,4612,968,720,70317,475,00002,523,136
21May 16, 2021 18:265,469178,525,98217,501,00002,527,232
22May 16, 2021 18:255,473446,076,49415,567,0001,945,0002,260,992
23May 16, 2021 18:255,4771,586,618,70416,552,000973,0002,392,064
24May 16, 2021 18:265,5001,791,152,28317,599,00002,527,232
25May 16, 2021 18:255,5042,911,606,17014,677,0002,935,0002,519,040
26May 16, 2021 18:265,5341,609,907,70916,725,000983,0002,519,040
27May 16, 2021 18:265,6031,141,756,02614,940,0002,988,0002,260,992
28May 16, 2021 18:255,6332,228,889,50618,025,56702,277,376
29May 16, 2021 18:265,6331,595,551,20818,024,33002,285,568
30May 16, 2021 18:265,634525,115,61518,027,93502,277,376
31May 16, 2021 18:265,6362,009,960,04118,034,72602,273,280
32May 16, 2021 18:265,638240,953,22618,041,92202,281,472
33May 16, 2021 18:255,643209,504,55318,056,52502,281,472
34May 16, 2021 18:255,6601,622,509,31618,110,43602,281,472
35May 16, 2021 18:265,663754,459,77818,120,19402,285,568
36May 16, 2021 18:265,6802,809,721,84318,176,19802,281,472