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 24, 2021 18:51Yuriy LyfenkoYuriy LyfenkoScore: 5,406Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:515,35134,674,35015,110,0002,014,0002,396,160
2May 24, 2021 18:515,36145,754,10215,137,0002,018,0002,400,256
3May 24, 2021 18:515,37046,237,23116,174,0001,010,0002,265,088
4May 24, 2021 18:515,37545,162,86816,189,0001,011,0002,527,232
5May 24, 2021 18:515,37847,329,87815,186,0002,024,0002,527,232
6May 24, 2021 18:515,38133,096,45815,194,0002,025,0002,265,088
7May 24, 2021 18:515,40637,199,74816,283,0001,017,0002,396,160
8May 24, 2021 18:515,40938,734,09716,291,0001,018,0002,396,160
9May 24, 2021 18:515,43243,713,89216,359,0001,022,0002,265,088
10May 24, 2021 18:515,54681,035,04617,747,60502,277,376
11May 24, 2021 18:515,56853,805,21417,817,08102,260,992
12May 24, 2021 18:515,60469,661,28417,931,58802,277,376