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 listSep 1, 2021 11:53piculpiculScore: 5,713Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2021 11:535,68993,473,59518,204,73602,174,976
2Sep 1, 2021 11:575,69083,644,50718,208,18702,301,952
3Sep 1, 2021 11:585,70687,260,37018,260,63702,297,856
4Sep 1, 2021 11:535,70778,555,67318,263,77602,285,568
5Sep 1, 2021 11:575,709101,405,88418,268,34802,301,952
6Sep 1, 2021 11:585,71085,843,40918,272,50802,297,856
7Sep 1, 2021 11:585,71389,577,30218,281,41602,179,072
8Sep 1, 2021 11:535,71793,571,17418,294,22202,301,952
9Sep 1, 2021 11:575,71863,969,08218,298,34402,301,952
10Sep 1, 2021 11:535,72685,858,48518,324,19602,293,760
11Sep 1, 2021 11:535,73668,928,14818,355,48602,301,952
12Sep 1, 2021 11:535,75293,306,15918,407,63302,293,760