|
|
back to boardShow all messages Hide all messages1-use dynamic 2-i got AC with 22lined program and 2array [1..100,1..100] (one integer and one longint)(pascal) 3-answer of this sample is -1 -1 -2 -3 -3 -2 -1 -1 -2 -3 4-its best order is O(n^3). For other elp mail me Sincerely Aidin_n7@hotmail.com Thank you for test!! I got AC! 1-use dynamic 2-i got AC with 22lined program and 2array [1..100,1..100] (one integer and one longint)(pascal) 3-answer of this sample is -1 -1 -2 -3 -3 -2 -1 -1 -2 -3 4-its best order is O(n^3). For other elp mail me Sincerely Aidin_n7@hotmail.com Thanks... :) I got AC too... i have O(n^3)solution. but wrong answer on test 7. Can you give me some test cases please? |
|
|