|
|
вернуться в форумI would like to ask what's the problem? Послано Laji 9 май 2007 12:27 I am using Pascal and this is my last submitted program [code deleted] I am WONDERING what's wrong with it and I have gone MAD because I have submitted for tens of times........ When I use Longint to solve it I've got an "Time limit exceed" and when I use Extended to calculate it said "wrong answer" on test#1..I don't know why ?~! Edited by moderator 09.05.2007 16:04 Re: I would like to ask what's the problem? Послано AlMag 9 май 2007 13:42 Try to use longint without any extended. I mean, read extended, transform it to longint (but carefully) and run. Re: I would like to ask what's the problem? Послано Laji 10 май 2007 10:43 yes I have tried but failed It said that TIME LIMIT EXCEEDED and I also tried round() and trunc() and I got the same answer! Re: I would like to ask what's the problem? Послано Laji 10 май 2007 11:03 I am bored........ Anyone would help me? I will send him my source code.I am not sure whether I have missed something important. But I noticed that long ago that the maxium result should be 5001.Am I wrong? Re: I would like to ask what's the problem? Послано Laji 10 май 2007 11:42 Now .... I want to argue for my program. When I copy a 'AC' script from one of the post above, yes, sure enough it got an 'AC' but the program is rather SLOW. I tested some datas, which were like 0.01and0.02,0.02and0.03,.....until 99.98and99.99, but the result of MY program had NO DIFFERENCES from the AC's. I DON'T KNOW WHY ~?! Re: I would like to ask what's the problem? Послано Laji 10 май 2007 11:45 Am I missed some IMPORTANT extreme situation? Help me, please. |
|
|