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 2, 2021 14:40piculpiculScore: 5,712Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2021 14:405,65476,229,96218,093,97102,179,072
2Sep 2, 2021 18:275,67887,217,15518,169,06602,301,952
3Sep 2, 2021 14:405,68092,442,62218,176,89402,297,856
4Sep 2, 2021 18:275,71268,023,31018,278,96402,285,568
5Sep 2, 2021 18:275,71658,427,38818,289,84402,297,856
6Sep 2, 2021 14:405,71786,664,49818,294,65902,297,856