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:58Mikhail DektyarevMikhail DektyarevScore: 15,839Success
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:5815,742122,057,32150,375,30402,269,184
2May 11, 2021 14:5815,786110,991,59350,514,79502,269,184
3May 11, 2021 14:5815,829120,759,88450,652,63202,269,184
4May 11, 2021 14:5815,839109,636,03650,686,32602,260,992
5May 11, 2021 14:5815,84998,636,08850,717,98202,273,280
6May 11, 2021 14:5815,871127,425,72250,788,08902,269,184