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 14:40Yuriy LyfenkoYuriy LyfenkoScore: 6,158Success
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 14:406,11743,149,29219,575,00002,330,624
2May 16, 2021 14:406,12340,888,72418,562,0001,031,0002,519,040
3May 16, 2021 14:406,12540,767,78018,570,0001,031,0002,387,968
4May 16, 2021 14:406,12846,398,23218,577,0001,032,0002,326,528
5May 16, 2021 14:406,13346,519,57818,592,0001,032,0002,371,584
6May 16, 2021 14:406,13843,074,69019,643,00002,326,528
7May 16, 2021 14:406,15849,129,51817,632,0002,074,0002,326,528
8May 16, 2021 14:406,21249,470,56217,891,0001,987,0002,326,528
9May 16, 2021 14:406,21445,848,48816,903,0002,982,0002,519,040
10May 16, 2021 14:406,21689,976,83319,890,66302,236,416
11May 16, 2021 14:406,23282,649,53319,943,21802,232,320
12May 16, 2021 14:406,35575,705,02220,335,11402,220,032