#1028. python-pygame Rect区域-设置...rect1和...rect2,并保持rect1的宽高比不变...

python-pygame Rect区域-设置...rect1和...rect2,并保持rect1的宽高比不变...

No testdata at current.

Background

Description

python-pygame Rect区域-设置rect(0, 0, 100, 50)的rect1和rect(200, 100, 200, 200)的rect2,并保持rect1的宽高比不变,在rect2范围内产生一个最大的矩形并返回新矩形 image

Format

Input

Output

Samples



Limitation

1s, 1024KiB for each test case.