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 listDec 31, 2022 17:39Hal FHal FScore: 5,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2022 17:395,44233,794,91217,414,00002,289,664
2Dec 31, 2022 17:395,44948,450,36716,411,0001,025,0002,531,328
3Dec 31, 2022 17:395,45247,036,41316,419,0001,026,0002,289,664
4Dec 31, 2022 17:395,46043,265,97516,446,0001,027,0002,289,664
5Dec 31, 2022 17:395,46346,447,05516,453,0001,028,0002,289,664
6Dec 31, 2022 17:395,47544,554,88616,491,0001,030,0002,289,664
7Dec 31, 2022 17:395,47635,509,44716,494,0001,030,0002,273,280
8Dec 31, 2022 17:395,47839,651,03817,528,00002,265,088
9Dec 31, 2022 17:395,51040,926,39516,595,0001,037,0002,289,664
10Dec 31, 2022 17:395,69492,418,88518,221,07002,301,952
11Dec 31, 2022 17:395,70772,672,17418,263,95602,293,760
12Dec 31, 2022 17:395,72180,557,72018,306,82702,289,664