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 listJul 3, 2021 17:18Vitaliy F.Vitaliy F.Score: 67,963Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2021 17:1867,930270,485,755217,376,12802,301,952
2Jul 3, 2021 17:1667,943276,251,243217,417,47402,293,760
3Jul 3, 2021 17:1667,955286,786,950217,456,05802,297,856
4Jul 3, 2021 17:1867,963270,208,486217,482,70602,301,952
5Jul 3, 2021 17:1868,052275,498,314217,766,21002,289,664
6Jul 3, 2021 17:1668,069274,839,678217,822,06602,306,048