Search found 5 matches

by Top Secret
Thu Mar 14, 2013 11:42 pm
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 31381

Re: 10034 - Freckles

WOW!!!!!!!!!!!! You know magic! I changed float to double & initialized sum = 0 & got AC!!!! :D :D :D :D :D Don't know how to thank you! & I had tried each and every given test case in this forum. My code gave me the correct outputs for them. So I totally had no idea why I was getting WA.. But now I...
by Top Secret
Thu Mar 14, 2013 3:50 am
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 31381

Re: 10034 - Freckles

Why wa? I used Kruskal's Mst algo.. I think its presentation error..

Here is my code:

Code: Select all

AC.

While(1) Return Thanks.. :) ;
by Top Secret
Tue Mar 12, 2013 10:46 pm
Forum: Volume 103 (10300-10399)
Topic: 10308 - Roads in the North
Replies: 30
Views: 9537

Re: 10308 - Roads in the North

Yes!!!! Got AC!
I just changed (!EOF) to (cin.peek()!=EOF) :D

And thanks. I have now understood my fault.. This is really the way to learn!!! ! :D :D :D

From now, i'll be patient thinking that i am actually learning!! :D
by Top Secret
Tue Mar 12, 2013 6:17 am
Forum: Volume 103 (10300-10399)
Topic: 10308 - Roads in the North
Replies: 30
Views: 9537

Re: 10308 - Roads in the North

:evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil: :evil:

MY CODE ALSO WORKS FOR THE BLANK LINES... NOW WHAT?????

Code: Select all

while(1) return Thanks.. 
by Top Secret
Tue Mar 12, 2013 12:36 am
Forum: Volume 109 (10900-10999)
Topic: 10959 - The Party, Part I
Replies: 37
Views: 17945

Re: 10959 - The Party, Part I

:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:

i think my fault is in presentation.. I used BFS... Plz help me... :cry: :cry: :cry: :cry:

Code: Select all


Got AC!!! Yaeeeeeee!!

While(1) Return Thanks! :D


Go to advanced search