摘要:A simple math.. take care of data overflow though.
阅读全文
10 2016 档案
摘要:There are 3 possible approaches: DP, divide&conquer and greedy. And apparently, DP has O(n^2) complexity (TLE), DivideConquer can only be worse. Greed
阅读全文

浙公网安备 33010602011771号