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 14:42Andrei GrazhdankovAndrei GrazhdankovScore: 76,261Success
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 14:4276,140305,682,914243,646,99702,289,664
2May 11, 2021 15:0276,167303,213,546243,734,33902,297,856
3May 11, 2021 15:0276,207298,624,592243,861,00902,293,760
4May 11, 2021 14:4276,261307,194,512244,036,38002,293,760
5May 11, 2021 15:0276,327307,131,572244,246,79302,285,568
6May 11, 2021 14:4276,371301,031,428244,388,46702,293,760