Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #72.9K
1 Posted Topic
Try this (you do the definitions and declarations), I just thought this might work, didn't test it. k=1; for(i=1;i<=n;i++) {kk=1; for(j=1;j<=n;j++) if(x[i]==x[j]) k++; y[kk]=k;} for(j=1;j<=n;j++) if(x[i]==x[j]) k++; y[kk]=k;}
The End.