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 18:28Yuriy LyfenkoYuriy LyfenkoScore: 5,578Success
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 18:285,547984,654,30416,764,000986,0002,265,088
2May 16, 2021 18:285,556210,352,46116,791,000987,0002,265,088
3May 16, 2021 18:285,557895,260,46315,807,0001,975,0002,265,088
4May 16, 2021 18:285,557921,982,73315,807,0001,975,0002,260,992
5May 16, 2021 18:285,5672,992,223,71015,834,0001,979,0002,260,992
6May 16, 2021 18:285,5781,328,487,08915,865,0001,983,0002,260,992
7May 16, 2021 18:285,5782,474,484,63814,874,0002,974,0002,523,136
8May 16, 2021 18:285,581710,480,66016,867,000992,0002,392,064
9May 16, 2021 18:285,5832,995,665,19416,926,000940,0002,523,136
10May 16, 2021 18:285,8601,827,016,53018,752,57302,281,472
11May 16, 2021 18:285,8812,928,757,76818,819,29802,285,568
12May 16, 2021 18:285,918819,330,25718,938,91902,277,376