feat: add luogu questions

This commit is contained in:
2023-10-03 17:51:53 +08:00
parent c9fbb1e74a
commit 261c0e95b9
9 changed files with 230 additions and 0 deletions

20
luogu/p1000.cxx Normal file
View File

@@ -0,0 +1,20 @@
#include<iostream>
//#include<bits/stdc++.h>
#include<algorithm>
using namespace std;
int main()
{
int a;
cin>>a;
int b[a];
for(int i=0;i<a;i++)
{
cin>>b[i];
}
sort(b,b+a);
for(int i=0;i<a;i++)
{
cout<<b[i]<<endl;
}
return 0;
}