Results of Comment Search

Search:    Place:    Show:

Title User Message Date Posted
Input outpu superman I'm running my solution locally, and it works. But then i submit, it gives me invalid output. I don't think im understanding what I'm supposed to output, and what kind of input im supposed to expect. ... Oct 22, 2011 - 5:51:50 pm UTC
Re: Re: problem? SourSpinach Yeah, a major problem associated with binary search is figuring out when to take the ceil and when to take the floor. Right now you seem to be alternating, which isn't great - try experimenting a bit.... May 09, 2009 - 7:59:24 pm UTC
Re: problem? jargon I skimmed your code and there isn't much wrong with it. Instead of using b to control ceil/floor, try saving the previous guess. May 09, 2009 - 5:23:18 pm UTC
problem? seyonv Can someone tell me what my problem is for the last test case? I pretty sure its not the size of my numbers, but maybe its cause my codes somewhat inefficient? May 09, 2009 - 2:56:12 pm UTC
Re: flush hansonw1 After writeln(...); you should have flush(output); Sometimes it's necessary, sometimes it's not - I don't really know. Anyway, your program doesn't seem to need it. The problem is that your numbers a... Feb 17, 2009 - 3:02:14 am UTC
flush humanoidmanticore what does it mean by "flush(output)" on pascal? Feb 17, 2009 - 2:05:55 am UTC