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:16Yuriy LyfenkoYuriy LyfenkoScore: 5,440Success
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:165,399130,474,43614,399,0002,879,0002,260,992
2May 16, 2021 18:165,4201,951,045,97415,304,0002,040,0002,265,088
3May 16, 2021 18:165,4221,543,704,64816,331,0001,020,0002,523,136
4May 16, 2021 18:165,424368,067,07016,392,000964,0002,392,064
5May 16, 2021 18:165,4271,589,637,71816,402,000964,0002,523,136
6May 16, 2021 18:165,4331,453,141,39417,384,00002,519,040
7May 16, 2021 18:165,440481,296,32616,442,000967,0002,387,968
8May 16, 2021 18:165,4411,853,292,74417,411,00002,523,136
9May 16, 2021 18:165,455155,218,99416,488,000969,0002,396,160
10May 16, 2021 18:165,6261,251,456,35018,001,94402,281,472
11May 16, 2021 18:165,630197,985,46418,017,57102,277,376
12May 16, 2021 18:165,6591,036,084,85618,109,83802,285,568