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:25Yuriy LyfenkoYuriy LyfenkoScore: 5,293Success
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:255,2162,360,514,09914,728,0001,963,0002,260,992
2May 17, 2021 23:255,2381,426,184,75914,666,0002,095,0002,523,136
3May 17, 2021 23:255,2421,323,050,33014,800,0001,973,0002,265,088
4May 17, 2021 23:255,244336,897,57815,733,0001,048,0002,523,136
5May 17, 2021 23:255,2481,909,157,52616,792,00002,523,136
6May 17, 2021 23:255,2591,074,906,33116,828,00002,260,992
7May 17, 2021 23:255,2931,038,964,04514,946,0001,992,0002,519,040
8May 17, 2021 23:255,3321,883,472,41115,167,0001,895,0002,260,992
9May 17, 2021 23:255,3341,790,509,65414,224,0002,844,0002,523,136
10May 17, 2021 23:255,455371,703,22317,454,85502,285,568
11May 17, 2021 23:255,4621,920,281,53117,478,12402,281,472
12May 17, 2021 23:255,4701,520,179,69217,505,44702,277,376