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 1793. Tray 2

Hint
Posted by Otrebus 30 May 2015 14:11
You can solve this with as little as two if statements (and one use of the min function) - first, check where the center of the trays need to be in relation to the sides, and second, make sure that the plates don't overlap.