sort排序

1.sort(arry,arry+5),从小到大,排序这五个元素

2.sort(arry,arry+5,greater<>())从大到小

posted @ 2023-01-06 21:31  阿飞藏泪  阅读(89)  评论(0)    收藏  举报
1 2 3
4