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 16:14Sergey StreminSergey StreminScore: 11,039Success
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 16:1410,914104,991,26634,924,51102,199,552
2May 11, 2021 16:1410,96981,726,38935,099,43702,207,744
3May 11, 2021 16:1411,011102,590,13335,234,67502,199,552
4May 11, 2021 16:1411,03995,498,11935,324,88502,195,456
5May 11, 2021 16:1411,08078,401,89335,455,54502,207,744
6May 11, 2021 16:1411,25097,691,76535,998,42902,211,840