문제
https://www.acmicpc.net/problem/32025
코드
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
int h, w;
cin >> h >> w;
int r = min(h, w);
cout << r * 100 / 2;
return 0;
}
'PS > Baekjoon' 카테고리의 다른 글
[백준] 11319: Count Me In(C++) (0) | 2025.06.24 |
---|---|
[백준] 10874: 이교수님의 시험(C++) (0) | 2025.05.14 |
[백준] 16395: 파스칼의 삼각형(C++) (0) | 2025.04.29 |
[백준] 9625: BABBA(C++) (0) | 2025.04.26 |
[백준] 5355: 화성 수학(C++) (0) | 2025.04.22 |
댓글