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 28, 2021 20:42Dmitry DolgopolovDmitry DolgopolovScore: 5,182Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:425,13736,159,27115,411,0001,027,0002,273,280
2May 28, 2021 20:425,13839,735,96015,415,0001,027,0002,273,280
3May 28, 2021 20:425,14037,271,20815,420,0001,028,0002,441,216
4May 28, 2021 20:425,14540,396,40715,435,0001,029,0002,535,424
5May 28, 2021 20:425,14843,477,33715,443,0001,029,0002,273,280
6May 28, 2021 20:425,15036,194,94815,450,0001,030,0002,273,280
7May 28, 2021 20:425,15132,854,69915,453,0001,030,0002,531,328
8May 28, 2021 20:425,15139,028,55715,453,0001,030,0002,535,424
9May 28, 2021 20:425,16036,419,09615,481,0001,032,0002,535,424
10May 28, 2021 20:425,16341,078,51515,488,0001,032,0002,445,312
11May 28, 2021 20:425,16844,863,42115,505,0001,033,0002,273,280
12May 28, 2021 20:425,17336,783,41015,518,0001,034,0002,535,424
13May 28, 2021 20:425,18233,790,46315,546,0001,036,0002,273,280
14May 28, 2021 20:425,19347,294,48115,578,0001,038,0002,273,280
15May 28, 2021 20:425,19332,160,76415,580,0001,038,0002,273,280
16May 28, 2021 20:425,19745,674,88715,592,0001,039,0002,445,312
17May 28, 2021 20:425,19847,357,09615,596,0001,039,0002,449,408
18May 28, 2021 20:425,20247,626,66716,645,00002,273,280
19May 28, 2021 20:425,37152,200,43917,186,61002,195,456
20May 28, 2021 20:425,37471,562,03517,195,22702,195,456
21May 28, 2021 20:425,38355,913,37517,224,61102,195,456
22May 28, 2021 20:425,39767,304,82917,270,77502,195,456
23May 28, 2021 20:425,42183,615,85417,347,77402,256,896
24May 28, 2021 20:425,45377,039,61217,448,89102,199,552