## Search found 5 matches

Sat Mar 06, 2010 1:27 am
Forum: Volume 1 (100-199)
Topic: 105 - The Skyline Problem
Replies: 160
Views: 26867

### Re: 105 - The Skyline Problem

can anyone plz tell me how the input of the problem be stopped??????
Sat Dec 27, 2008 2:57 pm
Forum: Volume 110 (11000-11099)
Topic: 11063 - B2-Sequence
Replies: 73
Views: 39578

### Re: 11063 - B2-Sequence

can any one tell me what is the wrong with my code :oops: :oops: :oops: :oops: :oops: :oops: :oops: #include<stdio.h> int main() { int a[1000],m=0,n,j,i,k,l,x,y,c[1000]; while(scanf("%d",&n)==1) { m++; for(i=0;i<n;i++) scanf("%d",&a[i]); l=0; for(i=0;i<n;i++) for(j=i+1;j<n;j++) if(a[j]<=a[i]) { l=0;...
Sat Dec 27, 2008 2:51 pm
Forum: Volume 113 (11300-11399)
Topic: 11371 - Number Theory for Newbies
Replies: 65
Views: 22284

### Re: 11371 - Number Theory for Newbies

hi helloneo,
u have told me to take 100 as input
which show "100 - 100 = 0 = 9 * 0"
as output 4 my code also ,but still its getting WA!
can u solve my problem???????
Sat Dec 27, 2008 2:35 pm
Forum: Volume 115 (11500-11599)
Topic: 11500 - Vampires
Replies: 10
Views: 4836

### Re: 11500 - Vampires

can anyone tell me what is the wrong with my code & what i hav to add in this code :oops: :oops: :oops: :oops: :oops: :oops: :oops: :oops: :oops: :oops: :oops: (it has done in C) #include<stdio.h> #include<math.h> int main() { unsigned long ev1,ev2,at,d,n1,n2; double pr,m; while(scanf("%lu%lu%lu%lu"...
Thu Dec 25, 2008 2:06 pm
Forum: Volume 113 (11300-11399)
Topic: 11371 - Number Theory for Newbies
Replies: 65
Views: 22284

### Re: 11371 - Number Theory for Newbies

can anyone tell me what is the problem with my code. I have used all necessary data type,but still it is getting WA,why? why? why? why? why? why? :cry: :cry: (code is done in C) #include <stdio.h> #include <string.h> #include <algorithm> #include <math.h> using namespace std ; int main() { char a[20...