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 listAug 25, 2023 21:20Michael AganierMichael AganierScore: 16,208Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 25, 2023 21:2016,041107,257,04251,332,52202,301,952
2Aug 25, 2023 21:2016,135113,013,77351,633,24202,289,664
3Aug 25, 2023 21:2016,197124,236,99551,831,30502,293,760
4Aug 25, 2023 21:2016,208115,356,32351,866,13502,293,760
5Aug 25, 2023 21:2016,211117,959,69651,874,79702,297,856
6Aug 25, 2023 21:2016,232133,381,66951,943,52002,301,952