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 16, 2021 22:55Yuriy LyfenkoYuriy LyfenkoScore: 5,568Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 22:555,5133,692,788,87015,682,0001,960,0002,523,136
2May 16, 2021 22:555,5241,000,050,43916,695,000982,0002,265,088
3May 16, 2021 22:555,5452,341,911,79716,758,000985,0002,265,088
4May 16, 2021 22:555,5484,407,360,54016,769,000986,0002,519,040
5May 16, 2021 22:555,5633,209,950,15716,812,000988,0002,519,040
6May 16, 2021 22:555,564472,537,97816,816,000989,0002,387,968
7May 16, 2021 22:555,5683,083,293,55415,839,0001,979,0002,523,136
8May 16, 2021 22:555,5704,908,691,32815,843,0001,980,0002,260,992
9May 16, 2021 22:555,5771,734,773,07316,855,000991,0002,519,040
10May 16, 2021 22:555,8752,270,636,54818,800,47202,285,568
11May 16, 2021 22:555,9041,660,498,66618,893,74302,285,568
12May 16, 2021 22:555,9293,664,553,87718,971,69102,281,472