Search found 8 matches

by avatar
Fri Dec 16, 2011 5:01 pm
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 33341

Re: 530 woes

for those who are getting WA try the following:::::
[/c]
input::::
45 0
15 9
0 0

output::::
1
5005

hope i helped u
by avatar
Sat Dec 10, 2011 6:22 pm
Forum: Volume 105 (10500-10599)
Topic: 10530 - Guessing Game
Replies: 57
Views: 27781

Re: 10530 - Guessing Game

hellow everyone..... i am getting WA.. but why.... i can handle all the test cases in this foram ... someone please help.......................... [/c] #include <stdio.h> int main() { int lower[150],higher[150],right[150]; int input,ar[10000]; char f[15],s[15]; int h=0,l=0,r=0,flag,k,c=0; freopen("i...
by avatar
Sat Nov 26, 2011 4:02 pm
Forum: Volume 101 (10100-10199)
Topic: 10107 - What is the Median?
Replies: 74
Views: 18659

Re: 10107 - What is the Median?

oh.............. at last after thousands of TLE i got AC........!!!!!!!! for the friends those who are suffering as i was ......... :evil: don't go for bubble sort for each input , rather select appropriate position for the input and do the simple calculation for finding the medians....................
by avatar
Thu Nov 24, 2011 4:32 pm
Forum: Volume 4 (400-499)
Topic: 438 - The Circumference of the Circle
Replies: 29
Views: 9395

Re: 438 - The Circumference of the Circle

i was trying to use the following algorithm but it gave me WA: 1.i considered the given three points to be the vertex of a triangle 2.then i found the centroid 3.so actually that is the center of the circle surrounding the triangle 4.then from the centroid i found distance of any vertex which is act...
by avatar
Wed Nov 23, 2011 6:39 pm
Forum: Volume 102 (10200-10299)
Topic: 10297 - Beavergnaw
Replies: 13
Views: 6889

Re: 10297 - Beavergnaw

though the following algorithm is long .but hope it may help u ,as it work fine 1.First find total volume (using the given diameter /height) 2.remaining volume=Total volume - eaten volume 3. then consider the two conic having the base of given D 4.then last remaining volume=(small solid cylinder in ...
by avatar
Wed Nov 16, 2011 7:20 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 21594

Re: 333 - Recognizing Good ISBNs - Need more In/Output sampl

hellow .....
please help me..
if there are more than 10 digit but there summation satisfies the given condition ..then what should i do????
by avatar
Wed Nov 16, 2011 7:18 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 21594

Re: 333 - Recognizing Good ISBNs - Need more In/Output sampl

hellow .....
please help me..
if there are more than 10 digit but there summation satisfies the given condition ..then what should i do????
by avatar
Wed Nov 16, 2011 7:12 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 21594

333

hellow.....someone please help me with problem 333
if there is any space inside the message .then what should i do..........
that is it correct or not????

Go to advanced search