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 23:28Yuriy LyfenkoYuriy LyfenkoScore: 5,269Success
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 23:285,229344,554,19413,781,0002,953,0002,260,992
2May 17, 2021 23:285,2441,992,907,74815,794,000987,0002,260,992
3May 17, 2021 23:285,245240,681,63615,735,0001,049,0002,265,088
4May 17, 2021 23:285,2561,514,628,63514,840,0001,978,0002,527,232
5May 17, 2021 23:285,2632,086,747,48315,850,000990,0002,510,848
6May 17, 2021 23:285,2631,700,980,99616,843,00002,519,040
7May 17, 2021 23:285,2692,682,071,61914,878,0001,983,0002,523,136
8May 17, 2021 23:285,2772,514,618,43615,893,000993,0002,519,040
9May 17, 2021 23:285,2981,682,388,91915,957,000997,0002,523,136
10May 17, 2021 23:285,4371,282,850,88317,396,93702,277,376
11May 17, 2021 23:285,4392,953,293,00917,404,82602,285,568
12May 17, 2021 23:285,4811,618,896,57517,538,41302,285,568