Search found 29 matches

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

Re: 10420 - List of Conquests

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

Re: 10420 - List of Conquests

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

Re: 10420 - List of Conquests

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

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...
by sampad74
Sun Jan 25, 2015 8:51 pm
Forum: Volume 1 (100-199)
Topic: 152 - Tree's a Crowd
Replies: 30
Views: 3835

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.
by sampad74
Fri Sep 26, 2014 6:06 pm
Forum: Volume 101 (10100-10199)
Topic: 10114 - Loansome Car Buyer
Replies: 38
Views: 13397

Re: 10114 - Loansome Car Buyer

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

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

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

12583 - Memory Overflow

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

Re: 11233 - Deli Deli

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

Re: 10611 - The Playboy Chimp

Thank you,brian...got ac.
by sampad74
Thu Jul 24, 2014 4:43 am
Forum: Volume 109 (10900-10999)
Topic: 10954 - Add All
Replies: 80
Views: 27712

Re: 10954 - Add All

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

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

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
by sampad74
Wed Jul 23, 2014 4:33 pm
Forum: Volume 109 (10900-10999)
Topic: 10954 - Add All
Replies: 80
Views: 27712

Re: 10954 - Add All

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

Code: Select all

got ac
by sampad74
Wed Jul 23, 2014 12:59 pm
Forum: Volume 109 (10900-10999)
Topic: 10954 - Add All
Replies: 80
Views: 27712

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...
by sampad74
Wed Jul 23, 2014 10:08 am
Forum: Volume 109 (10900-10999)
Topic: 10954 - Add All
Replies: 80
Views: 27712

Re: 10954 - Add All

I am getting WA.I tested my output,but did not find any mistake.Please,anybody help me.Thanks in advance.Here is my code...

Code: Select all

got ac

Go to advanced search