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 17, 2021 22:01Yuriy LyfenkoYuriy LyfenkoScore: 5,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 22:015,4212,724,335,27217,347,00002,260,992
2May 17, 2021 22:015,4261,234,560,24216,399,000964,0002,523,136
3May 17, 2021 22:015,4332,173,034,28215,454,0001,931,0002,519,040
4May 17, 2021 22:015,4382,464,660,25815,470,0001,933,0002,260,992
5May 17, 2021 22:015,446256,963,44016,459,000968,0002,265,088
6May 17, 2021 22:015,4472,906,475,83917,431,00002,265,088
7May 17, 2021 22:015,458599,334,62815,527,0001,940,0002,519,040
8May 17, 2021 22:015,4692,785,101,34216,529,000972,0002,523,136
9May 17, 2021 22:015,4742,854,654,30916,543,000973,0002,260,992
10May 17, 2021 21:325,6382,745,786,99718,040,00702,285,568
11May 17, 2021 22:015,6412,955,515,86318,052,57302,281,472
12May 17, 2021 22:015,645847,581,65118,064,84002,277,376
13May 17, 2021 21:325,6452,405,326,09118,065,27102,285,568
14May 17, 2021 21:325,6622,866,674,21618,119,12702,281,472
15May 17, 2021 22:015,6652,674,177,85318,128,49702,281,472