How will you do it? (I)

Let a , b and c be three integers such that;

  • 20 a , b , c + 20 -20 \le a,b,c \le +20
  • a > b a>b , ( a + b + c ) 2 = 4 (a+b+c)^{2}=4 and a 2 + b 2 + c 2 = 266 a^{2}+b^{2}+c^{2}=266

Find the minimum value of a 2 b + b 2 c + c 2 a |a^{2}b+b^{2}c+c^{2}a| .


this problem is a part of the set Fundamental Programming


The answer is 1451.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Bill Bell
Jan 11, 2016

Are you quite sure that the answer offered for this problem is correct? Two answers seem possible to me.

In your code you have put a condition u>w . Rather it should be u>v .

Zeeshan Ali - 5 years, 5 months ago

Log in to reply

Thank you, you're right. I've re-run the code with that correction. There are still two solutions, however.

Bill Bell - 5 years, 5 months ago

Log in to reply

Yep... But since one has 3 tries, he/she can do it.

Zeeshan Ali - 5 years, 5 months ago

Log in to reply

@Zeeshan Ali Please consider adjusting the problem statement to make the solution correct. 1585 is not wrong given the stated restrictions, so marking it wrong is the wrong thing to do.

For example, you could ask for min a 2 b + b 2 c + c 2 a \min{a^2 b + b^2 c + c^2 a} , or you could ask for ( a + b + c ) (|a| + |b| + |c|) , which is 24 \boxed{24} in all cases.

Daniel Ploch - 5 years, 5 months ago

Thanks.

In future, if you spot any errors with a problem, you can “report” it by selecting "report problem" in the “dot dot dot” menu in the lower right corner. This will notify the problem creator who can fix the issues.

Calvin Lin Staff - 5 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...