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 listSep 29, 2021 22:53Mikhail ShirokovMikhail ShirokovScore: 5,748Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 22:535,68648,170,86717,185,0001,010,0002,392,064
2Sep 29, 2021 22:535,69042,490,41415,173,0003,034,0002,383,872
3Sep 29, 2021 22:535,70640,982,11115,216,0003,043,0002,383,872
4Sep 29, 2021 22:535,71434,777,69716,253,0002,031,0002,392,064
5Sep 29, 2021 22:535,72940,819,48616,297,0002,037,0002,510,848
6Sep 29, 2021 22:535,73347,353,25216,306,0002,038,0002,494,464
7Sep 29, 2021 22:535,74845,820,55918,394,00002,519,040
8Sep 29, 2021 22:535,75940,930,82316,383,0002,047,0002,519,040
9Sep 29, 2021 22:535,77241,088,89517,443,0001,026,0002,387,968
10Sep 29, 2021 22:535,95280,857,69019,047,73702,273,280
11Sep 29, 2021 22:535,97093,160,41119,103,80702,277,376
12Sep 29, 2021 22:536,01393,741,58919,240,73402,281,472