## Search found 29 matches

Thu Jan 29, 2015 10:38 am
Forum: Volume 104 (10400-10499)
Topic: 10420 - List of Conquests
Replies: 68
Views: 26294

### Re: 10420 - List of Conquests

Got AC.Thanks brian.
Wed Jan 28, 2015 11:52 am
Forum: Volume 104 (10400-10499)
Topic: 10420 - List of Conquests
Replies: 68
Views: 26294

### Re: 10420 - List of Conquests

Got AC.Thanks brian.
Wed Jan 28, 2015 11:52 am
Forum: Volume 104 (10400-10499)
Topic: 10420 - List of Conquests
Replies: 68
Views: 26294

### Re: 10420 - List of Conquests

Got AC.thanks brian.
Mon Jan 26, 2015 2:38 am
Forum: Volume 3 (300-399)
Topic: 353 - Pesky Palindromes
Replies: 43
Views: 12483

### Re: 353 - Pesky Palindromes

i got Wa.in my code i noticed that this if condition is not working properly.bt i don't know why??there may be some other mistakes.please help me..here is my code. #include<string.h> #include<stdio.h> char a[90]; int t; int is(void) { int i,g=0; for(i=0;i<(t/2);i++) { if(a[i]==a[t-i-1]) { g++; } els...
Sun Jan 25, 2015 8:51 pm
Forum: Volume 1 (100-199)
Topic: 152 - Tree's a Crowd
Replies: 30
Views: 3984

### Re: 152 - Tree's a Crowd

got ac.thanks brian.i did not write " return 0" at the end of my program.may be for that reason i got WA.
Fri Sep 26, 2014 6:06 pm
Forum: Volume 101 (10100-10199)
Topic: 10114 - Loansome Car Buyer
Replies: 38
Views: 13796

### Re: 10114 - Loansome Car Buyer

got AC,thanks
Tue Aug 05, 2014 3:22 pm
Forum: Volume 120 (12000-12099)
Topic: 12019 - Doom's Day Algorithm
Replies: 8
Views: 2770

### Re: 12019 Doom's Day Algorithm..WA!! Help me

Thanks brianfry .got AC.
Mon Aug 04, 2014 6:23 pm
Forum: Volume 125 (12500-12599)
Topic: 12583 - Memory Overflow
Replies: 3
Views: 1332

### 12583 - Memory Overflow

thanks lighted got AC.
Mon Aug 04, 2014 8:23 am
Forum: Volume 112 (11200-11299)
Topic: 11233 - Deli Deli
Replies: 12
Views: 4387

### Re: 11233 - Deli Deli

got AC.thanks lighted
Thu Jul 24, 2014 4:53 am
Forum: Volume 106 (10600-10699)
Topic: 10611 - The Playboy Chimp
Replies: 44
Views: 17564

### Re: 10611 - The Playboy Chimp

Thank you,brian...got ac.
Thu Jul 24, 2014 4:43 am
Forum: Volume 109 (10900-10999)
Replies: 80
Views: 28286

### Re: 10954 - Add All

My code gave right answer for the following test case before changing previous code at my computer ..i don't know why ...
8
40952 13521 6223 42589 93489 22376 78730 38792
0

My AC's output:
899661
Afterall,got AC.Thank you.
Thu Jul 24, 2014 4:35 am
Forum: Volume 127 (12700-12799)
Topic: 12709 - Falling Ants
Replies: 11
Views: 2344

### Re: 12709 - Falling Ants [Wrong Answer]

Why runtime error ?!!!Please,any one help me to find a bug in my program...here is my code

Code: Select all

``````got ac
``````
Wed Jul 23, 2014 4:33 pm
Forum: Volume 109 (10900-10999)
Replies: 80
Views: 28286

### Re: 10954 - Add All

sorry...Here is my code.Thanks..

Code: Select all

``````got ac
``````
Wed Jul 23, 2014 12:59 pm
Forum: Volume 109 (10900-10999)
Replies: 80
Views: 28286

### Re: 10954 - Add All

lbv wrote-- Also, be careful with array overflows/underflows. Consider, for example, what happens when n=2 and this piece of code is executed: for (i = 2; i < n; i++) a = a ; i = n - 3; while (a > key) // .... i changed my code.. my code gives me right output for n=2. I changed long to long long in...
Wed Jul 23, 2014 10:08 am
Forum: Volume 109 (10900-10999)
``````got ac