pat常见注意错误

1.sort函数 sort(begin,end,cmp),end为数组结束的后一个位置。同时cmp中只能使用<,>不能使用>=和<=,或产生段错误。

posted @ 2021-08-20 17:18  zmachine  阅读(54)  评论(0)    收藏  举报