알고리즘

[알고리즘] 백준 23825 - SASA 모형을 만들어보자 (C++)

blueberrysoda 2024. 11. 5. 23:24

[문제 링크] : https://www.acmicpc.net/problem/23825

#include <iostream>
using namespace std;

int main(){
    int N, M;
    cin >> N >> M;
    cout << min(N / 2, M / 2) << "\n";
    return 0;
}