ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1428. Jedi Riddle

example
Posted by Mihail Nikalyukin(It-Team) 2 Sep 2009 11:15
what about example?
input 2 2 3
output 10 5 5
but 2*10+5*2!=5*3 ->20+10!=15 -> 30!=15
where im wrong?
Re: example
Posted by 2rf [Perm School #9] 3 Sep 2009 17:10
you need not 10*2+5*2=5*3, but 10^2+5^2=5^3 (100+25=125)
Re: example
Posted by Mihail Nikalyukin(It-Team) 3 Sep 2009 19:20
omg, thanks a lot :)
now im got AC



Edited by author 03.09.2009 20:53