|
|
back to boardDoes it possible to solve this problem in Pascal? If possible,that is to say you only need less than 400K memory... but 100000*sizeof(longint)>=400K... I have solved it in pascal...... Now you can get AC using Pascal. Memory bug was fixed. Thanks to the admins (-) Re: Now you can get AC using Pascal. Memory bug was fixed. Thanks to the admins (-) I solved the problem in Pascal now. Be careful: the same solution in Pascal got WA15, and in C++ got Crash8. I fixed the bug, and got 2 AC. Pascal solution eats 8 kb less memory, but working time is the same. |
|
|