728x90
풀이
N개의 가로와 세로의 길이를 입력받아 가장 큰 넓이를 출력해주는 문제다.
소스코드
출처
28490번: Area
Stuart has $n$ rectangular frames, which are numbered from $1$ to $n$. Frame $i$ is a rectangle with height $h[i]$ and width $w[i]$. The size of a frame is the area that it covers. Stuart wants you to help him find the area covered by the largest size fram
www.acmicpc.net
728x90
'PS > Baekjoon Online Judge' 카테고리의 다른 글
[백준 1015] 수열 정렬 [Python] (1) | 2023.10.03 |
---|---|
[백준 15678] 연세워터파크 [C++] (0) | 2023.09.30 |
[백준 26495] Big Number [Python] (0) | 2023.09.07 |
[백준 28282] 운명 [Python] (1) | 2023.09.05 |
[백준 26350] Good Coin Denomination [Python] (0) | 2023.09.02 |