로딩
티스토리 데이터 처리 중입니다.

백준: 14173번 Square Pasture (Python3)

 백준: 14173번 Square Pasture (Python3)

백준: 14173번 Square Pasture (Python3) Square Pasture 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 1861 1291 1201 70.316% 문제 Farmer John has decided to update his farm to simplify its geometry. Previously, his cows grazed in two rectangular fenced-in pastures.

Farmer John would like to replace these with a single square fenced-in pasture of minimum size that still covers all the regions of his farm t.....