HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Geometry > problem:


50666 - The card and envelope

Guest
• Discussion of problem (2)

Section problems

• 50397 - The Number of Points in a ...
• 50349 - Area of a Triangle
• 50348 - Area and Perimeter of a Rec...
• 50665 - Intersecting rectangles
• 50668 - Triangle
• 50362 - Pythagorean Numbers
• 50354 - Intersecting Rectangles
• 50660 - Triangle and the point
• 50666 - The card and envelope
• Problem 2
• 50663 - Lights
• 50667 - Intersecting Line Segments

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