1805: 画布裁剪 - CCF-GESP2025年6月四级C++

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:3 Solved:2

Description

Input

Output

Sample Input Copy

3 5
2 2 2 4
.....
.>_<.
.....

Sample Output Copy

>_<

HINT