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 21, 2021 17:02Dmitry DolgopolovDmitry DolgopolovScore: 5,303Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 17:035,27330,229,52014,887,0001,985,0002,392,064
2May 21, 2021 17:035,27344,845,77914,889,0001,985,0002,396,160
3May 21, 2021 17:025,27442,183,42814,892,0001,985,0002,383,872
4May 21, 2021 17:025,27548,142,48114,895,0001,986,0002,375,680
5May 21, 2021 17:025,27641,678,37114,898,0001,986,0002,510,848
6May 21, 2021 17:025,27738,150,41215,892,000993,0002,265,088
7May 21, 2021 17:035,27745,170,54716,885,00002,265,088
8May 21, 2021 17:035,28737,823,78314,927,0001,990,0002,265,088
9May 21, 2021 17:035,28847,714,07915,926,000995,0002,265,088
10May 21, 2021 17:025,28934,542,40015,929,000995,0002,265,088
11May 21, 2021 17:035,29142,628,83214,940,0001,992,0002,265,088
12May 21, 2021 17:025,29341,482,50615,943,000996,0002,265,088
13May 21, 2021 17:025,29332,417,15614,947,0001,992,0002,265,088
14May 21, 2021 17:025,30046,742,27614,966,0001,995,0002,265,088
15May 21, 2021 17:025,30149,744,46114,969,0001,995,0002,265,088
16May 21, 2021 17:035,30333,864,17515,972,000998,0002,265,088
17May 21, 2021 17:035,30845,427,73215,986,000999,0002,265,088
18May 21, 2021 17:035,34334,800,69715,086,0002,011,0002,265,088
19May 21, 2021 17:025,51591,262,96017,648,81402,277,376
20May 21, 2021 17:025,54472,641,32317,740,55402,277,376
21May 21, 2021 17:025,54997,422,04517,755,95402,273,280
22May 21, 2021 17:025,55087,798,64517,760,71502,281,472
23May 21, 2021 17:035,55989,667,04117,788,39902,273,280
24May 21, 2021 17:025,56083,196,79417,792,17702,281,472
25May 21, 2021 17:035,56664,063,69317,812,76302,269,184
26May 21, 2021 17:035,56691,431,86517,810,79902,281,472
27May 21, 2021 17:035,57085,439,73717,824,56502,273,280
28May 21, 2021 17:025,58179,600,30417,860,74602,277,376
29May 21, 2021 17:035,58558,792,89517,871,31102,273,280
30May 21, 2021 17:035,59694,495,58717,905,76502,277,376