Let a and b be integers satisfying a>1 and b>1. Such a "highest prize" exists if and only if a and b are relatively prime. In this case, it is ab-a-b. For example, when a=11 and b=7, we get ab-a-b=59; when a=5 and b=9, we get ab-a-b=31.
www.ddhw.com
本贴由[冷眼看戏的Lili]最后编辑于:2013-2-15 22:28:57 |