|
|
вернуться в форумCould anybody tell my why does my program get ML?(+) I tried to submit my program with Comp or Extended and got WA, so I used long arifmetics, and now I get ML even if I put the maximal length of the number to be 5 digits! Here's my program: [deleted by moderator] Edited by moderator 11.04.2004 01:33 Re: Could anybody tell my why does my program get ML?(+) It really uses small memory, and solution with comp(extended) type is good (as I think) too, but.. Try this test case: 302 60 10 All the error of the algorithm is TL! (maybe, dynamic?..) Re: Could anybody tell my why does my program get ML?(+) The number of towers is less than 2^59 (each new level is either +1 or -1). Comp/__int64 has got 64 bits, so long numbers shouldn't be needed. > > [deleted by moderator] Edited by moderator 11.04.2004 01:34 |
|
|