Search found 1 match
- Thu Dec 08, 2011 4:09 am
- Forum: Volume 114 (11400-11499)
- Topic: 11479 - Is this the easiest problem?
- Replies: 48
- Views: 24819
Re: 11479 - Is this the Easiest Problem?
What is the problem??? Why it Wrong answer? #include<stdio.h> #include<stdlib.h> int comp(const void *a, const void *b) { return (*(long int *)a)-(*(long int *)b); } int main() { long int t,p,x,y,z,ary[10000],k,temp,max,small,mid,l; scanf("%ld",&t); for(p=1;p<=t;p++) { scanf("%ld...