| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
mianshimain()
{ int a[4][3]={{13,15,20},{10,20,18},{20,16,10},{8,10,15}};
int i,jm,n,cnt,b[4][3];
for(i=0;i<=3;i++)
for(j=0;j<=3;j++)
{if(i!=j)
for(m=0;m<=3;m++3)
{if(m!=i&&m!=j)
for(n=0;n++;n<=3)
if(n!=i&&n!=j&&n!=m)
for(cnt=0;cnt<=3;k++)
{b[i][cnt]=a[0][i];
b[j][cnt]=a[1][i];
b[n][cnt]=a[2][i];
b[n][cnt]=a[3][i];
printf("%5d",b[i][cnt]);
}
printf(" ");
}
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator