include[HTML_REMOVED] //draft_01
using namespace std;
void force_swap();
int n;
const int N=1e6;
int arr[N];
int l[N],r[N];//左右
int main(){
//输入
scanf(“%d”,&n);
for(int i=0;i<n;i)
{
scanf(“%d”,&arr[i]);
}
for(int i=0;i<n;i)
cout<<arr[i]<<” “;
cout<<endl;
void force_swap();
for(int i=0;i<n;i++)
cout<<l[i]<<" ";
for(int i=0;i<n;i++)
cout<<r[i]<<" ";
cout<<endl;
return 0;
}
void force_swap()
{
for(int i=0;i[HTML_REMOVED]arr[j+1])
{
int t=arr[j];
arr[j]=arr[j+1];
arr[j+1]=t;
}
}
}
}
//混乱度十分大的草稿= =