题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=6601 Description N sticks are arranged in a row, and their lengths are a1,a2,...,aN. There are Q querys. For i-th of them, you can only use sticks between li-th to ri-th. Please output the maximum circu…
Problem Description N sticks are arranged in a row, and their lengths are a1,a2,...,aN. There are Q querys. For i-th of them, you can only use sticks between li-th to ri-th. Please output the maximum circumference of all the triangles that you can ma…