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 17, 2021 18:19Yurkov AlekseyYurkov AlekseyScore: 22,985Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 18:1922,959131,428,81173,467,93902,293,760
2May 17, 2021 18:1922,961151,969,84073,475,96102,297,856
3May 17, 2021 18:1922,964132,899,28373,484,60202,297,856
4May 17, 2021 18:1922,985135,520,66173,552,03502,285,568
5May 17, 2021 18:1922,986127,033,74073,554,27502,293,760
6May 17, 2021 18:1923,007129,531,44873,620,90602,293,760