int BinarySearch(list l,intx){//代码内容
收起
看看我写的这个,这应该就是你想要的吧?https://seaside.blog.csdn.net/article/details/122189038
报告相同问题?