10291 - Cut the Legs
Moderator: Board moderators
10291 - Cut the Legs
Can someone please clarify what this question means ? What exactly are the criteria for having a non-rocking table ? I mean a table with one short leg and 50 equal longer length ones will still rock if you push down hard enough.
-
- Guru
- Posts: 724
- Joined: Wed Dec 19, 2001 2:00 am
- Location: Germany
10291: cut the legs - lousy input format
Just FYI. While the problem states that
it doesn't mean that each line only has the length for one leg.For each table, a line will give an integer t, between 3 and 50, indicating the number of legs on the table. t subsequent lines will give, in order around the table's circumference, the lengths of the legs in millimeters.