|
|
back to boardHi. Sorry can you explain me the second sample test. 1.25 10.0 5.75 ? How much money has he put for each of coefficients. Just solve this system: k1*x1==k2*x2==k3*x3 x1+x2+x3==1000 Man interested why so. Simply if examply k1*x1>max(k2*x2,k3*x3) we will lost in case of mistake with first result. Edited by author 27.10.2007 22:22 Edited by author 27.10.2007 22:23 but isn't it to print k1*x1? |
|
|