Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.8K
~7K People Reached
About Me
Why "RAJPUTS" are less in population in the World??? Because this is the rule of the nature that if '' LIONS" increase then the other species would be in danger!!
Proud 2 be a "RAJPUT BOY"...!!
i'm.......
Favorite Forums
1 Posted Topic
Re: [CODE]void ftrans(int a[][3],int b[][3]) { int i,j,k=0,min,pos=0,c[20][3]; for(i=0;i<=a[0][2];i++) { for(j=0;j<3;j++) c[i][j]=a[i][j]; } b[k][0]=c[pos][1]; b[k][1]=c[pos][0]; b[k][2]=c[pos][2]; for(j=c[0][2];j>0;j--) { min=c[0][1]; for(i=c[0][2];i>0;i--) { if(c[i][1]<=min&&c[i][2]!=0) { min=c[i][1]; pos=i; } } k++; b[k][0]=c[pos][1]; b[k][1]=c[pos][0]; b[k][2]=c[pos][2]; c[pos][2]=0; } }[/CODE] |