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 24, 2021 05:14Yuriy LyfenkoYuriy LyfenkoScore: 5,290Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 05:145,27046,512,08514,881,0001,984,0002,527,232
2May 24, 2021 05:145,27233,069,74315,878,000992,0002,265,088
3May 24, 2021 05:145,27442,044,15315,885,000992,0002,392,064
4May 24, 2021 05:145,27549,329,41515,888,000993,0002,396,160
5May 24, 2021 05:145,27841,656,37215,895,000993,0002,265,088
6May 24, 2021 05:145,28542,982,44416,912,00002,265,088
7May 24, 2021 05:145,29042,751,39814,937,0001,991,0002,265,088
8May 24, 2021 05:145,29346,944,85514,946,0001,992,0002,396,160
9May 24, 2021 05:145,30243,009,53414,970,0001,996,0002,265,088
10May 24, 2021 05:145,48773,622,50717,557,40302,260,992
11May 24, 2021 05:145,52662,487,81117,683,27502,281,472
12May 24, 2021 05:145,533102,616,19017,704,19502,281,472