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 15, 2021 19:24alex3dalex3dScore: 22,217Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 19:2422,110133,958,08970,752,12502,207,744
2May 15, 2021 19:2422,133143,141,92470,824,84502,199,552
3May 15, 2021 19:2422,204130,157,53571,054,30702,195,456
4May 15, 2021 19:2422,217137,605,04471,095,63502,211,840
5May 15, 2021 19:2422,252135,116,99171,207,03602,199,552
6May 15, 2021 19:2422,538146,328,57572,120,18202,199,552