Just a Hook Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 45600 Accepted Submission(s): 21730 Problem Description In the game of DotA, Pudge’s meat hook is actually the most horrible thing
[传送门]http://codeforces.com/problemset/problem/813/C [题意]给定整数a,b,c,s,求使得 xa yb zc值最大的实数 x,y,z , 其中x + y + z <= s. (1 ≤ S ≤ 103 , 0 ≤ a, b, c ≤ 103) [题解]设P(x,y,z ) = xa yb zc,则P(x,y,z)是递增的,要使 函数值尽可能地大,那么必取 x + y + z = s 问题转化成:已知限定条件 x + y + z = s, 求