Skip to content

Commit 115ee69

Browse files
Create (CODECHEF)TSORT.cpp
1 parent e756c10 commit 115ee69

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
PROGRAM : TSORT (Turbo Sort)
3+
*/
4+
5+
#include<bits/stdc++.h>
6+
#define ll long long
7+
using namespace std;
8+
9+
int main()
10+
{
11+
ll t;
12+
cin>>t;
13+
ll arr[t];
14+
for(ll i=0;i<t;i++)
15+
{
16+
cin>>arr[i];
17+
}
18+
sort(arr,arr+t);
19+
for(ll i=0;i<t;i++)
20+
{
21+
cout<<arr[i]<<endl;
22+
}
23+
return 0;
24+
}

0 commit comments

Comments
 (0)