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 25, 2021 04:46Yuriy LyfenkoYuriy LyfenkoScore: 5,271Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 04:465,20145,759,64815,602,0001,040,0002,265,088
2May 25, 2021 04:465,22233,054,03115,667,0001,044,0002,265,088
3May 25, 2021 04:465,22337,243,33716,712,00002,265,088
4May 25, 2021 04:465,23335,300,39915,698,0001,046,0002,527,232
5May 25, 2021 04:465,27135,550,73214,882,0001,984,0002,265,088
6May 25, 2021 04:465,27142,586,16915,875,000992,0002,506,752
7May 25, 2021 04:465,27142,497,01015,875,000992,0002,265,088
8May 25, 2021 04:465,27237,429,05516,869,00002,265,088
9May 25, 2021 04:465,27344,250,26114,890,0001,985,0002,265,088
10May 25, 2021 04:465,45252,119,90717,446,35502,240,512
11May 25, 2021 04:465,48193,970,23717,538,10002,273,280
12May 25, 2021 04:465,51352,954,33717,642,12402,273,280