C++sort排序模板

#include
using namespace std;

int n;
int a[10005]={0};
int main()
{
cin>>n;
for(int i=1;i<=n;i++) { cin>>a[i];
}
sort(a+1,a+n+1);
for(int i=1;i<=n;i++) { cout<

C++sort排序模板最先出现在Python成神之路

版权声明:
作者:Zad
链接:https://www.techfm.club/p/20188.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>