Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

basic observation leads to dp OPTIMIZATION from O(n^3) to O(n^2) !!! (...

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 1.52 sec, absolute running time: 0.14 sec, cpu time: 0.09 sec, memory peak: 16 Mb, absolute service time: 1,67 sec 
edit mode |  history  | discussion
131.65