提交时间:2024-08-19 19:39:06
运行 ID: 167853
#include<cstdio> #include<algorithm> typedef long long LL; LL n,a[100001],i; int main() { scanf("%lld",&n); for(i=1;i<=n;i++)scanf("%lld",&a[i]); std::sort(a+1,a+n+1); for(i=1;i<=n;i++)printf("%lld ",a[i]); return 0; }