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 15, 2021 21:59Yuriy LyfenkoYuriy LyfenkoScore: 5,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 21:595,44340,132,26716,394,0001,024,0002,392,064
2May 15, 2021 21:595,44539,620,50616,400,0001,025,0002,523,136
3May 15, 2021 21:595,44546,009,58816,400,0001,025,0002,523,136
4May 15, 2021 21:595,44851,491,01315,382,0002,051,0002,260,992
5May 15, 2021 21:595,44947,901,60016,411,0001,025,0002,523,136
6May 15, 2021 21:595,47937,438,55216,502,0001,031,0002,392,064
7May 15, 2021 21:595,49044,046,44917,568,00002,523,136
8May 15, 2021 21:595,49540,171,53316,550,0001,034,0002,392,064
9May 15, 2021 21:595,58746,927,66916,886,000993,0002,387,968
10May 15, 2021 21:596,12484,465,36719,595,32402,281,472
11May 15, 2021 21:596,14884,576,87819,673,70202,285,568
12May 15, 2021 21:596,19282,233,82619,815,05102,285,568