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 04:50Yuriy LyfenkoYuriy LyfenkoScore: 5,422Success
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 04:505,36347,511,77214,134,0003,028,0002,265,088
2May 17, 2021 04:505,38938,583,27916,230,0001,014,0002,265,088
3May 17, 2021 04:505,39442,755,08315,231,0002,030,0002,400,256
4May 17, 2021 04:505,40434,103,41615,258,0002,034,0002,265,088
5May 17, 2021 04:505,40636,633,25016,283,0001,017,0002,265,088
6May 17, 2021 04:505,40939,307,86117,309,00002,510,848
7May 17, 2021 04:505,42240,408,98013,267,0004,082,0002,396,160
8May 17, 2021 04:505,43344,802,27317,385,00002,265,088
9May 17, 2021 04:505,43536,164,59017,393,00002,506,752
10May 17, 2021 04:505,61080,248,01317,950,86202,293,760
11May 17, 2021 04:505,62480,809,14417,996,44102,281,472
12May 17, 2021 04:505,68787,295,14918,199,33802,289,664