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 3, 2021 14:37piculpiculScore: 5,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2021 14:375,44295,096,38517,412,83802,256,896
2Sep 3, 2021 14:375,44483,182,22617,420,24202,301,952
3Sep 3, 2021 14:405,45798,599,88017,462,87102,293,760
4Sep 3, 2021 14:405,46989,193,31117,500,77602,297,856
5Sep 8, 2021 13:235,47488,998,15817,516,76202,301,952
6Sep 3, 2021 14:405,49774,237,52517,589,77102,293,760
7Sep 8, 2021 13:235,49986,351,27917,596,71002,301,952
8Sep 8, 2021 13:235,52179,006,99517,667,35302,293,760
9Sep 3, 2021 14:375,53193,946,03617,698,07702,301,952