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 listMay 11, 2021 17:01Sergey StreminSergey StreminScore: 11,164Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:0811,076123,942,53735,444,35302,207,744
2May 11, 2021 17:0111,122113,890,49435,591,53702,207,744
3May 11, 2021 17:0811,156101,901,87935,697,96002,199,552
4May 11, 2021 17:0111,16492,222,22335,724,26402,207,744
5May 11, 2021 17:0811,16890,878,68335,737,47102,195,456
6May 11, 2021 17:0111,291115,229,38236,131,67402,199,552