#include
using namespace std;
int main() {
int a[1000];
int n;
cin>>n;
for(int i=0;i<n;i++)
{
cin>>a[i];
}
for( int i=0;i<n;i++)
{ for(int j=0;j<n-i-1;j++)
{
if(a[j]>a[j+1])
{
swap(a[j],a[j+1]); }
}}
for(int i=0;i<n;i++)
{
cout<<a[i];
}
return 0;
}
sir none of the test case working. what’s the problem?