HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Geometry > problem:


50666 - The card and envelope

Guest
• Discussion of problem (2)

Section problems

• 50669 - Area of an Irregular Polygon
• 51034 - Area of 3 Shapes
• 50349 - Area of a Triangle
• 50348 - Area and Perimeter of a Rec...
• 50354 - Intersecting Rectangles
• 50560 - Max Distance
• 50660 - Triangle and the point
• 50665 - Intersecting rectangles
• 50666 - The card and envelope
• 50667 - Intersecting Line Segments
• Problem 2

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Автор: Фёдор Меньшиков, ВГПУ. Difficulty Beta

The card and envelope

English translation is by Google Russian
Given the dimensions of a rectangular postcard and envelope. Determine whether the card will fit in the envelope.

Input
The first line contains the dimensions of the card. The second line contains the size of the envelope. The card and envelope sizes are positive integers not exceeding 100.
Output
If the card can be put in the envelope output "Possible", otherwise output "Impossible".

Input 1
1 10
9 9
Output 1
Possible

Для отправки решений необходимо выполнить вход.

www.contester.ru