|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияWA 3? Tkach 26 июл 2006 18:41 My algo is DP + Binary Search O(N^2*log(N)); I check my program on 1000 random tests and he gives right answer... What trick in test 3? Please help who know somthing about #3... "of _different_ elements" ... "which are successive terms of some _increasing_ arithmetical progression" But I remove all identical elements before process... One question: For test: 5 1 1 1 1 1 Answer : 0 ? 1 1 or 1 2 or 1 3 or 1 4 or 1 5 Thanks!!! No Bug in code... AC now.. OMG, exclusive error ;) thanks for thread ;) |
|
|