알고리즘

[알고리즘] 백준 27294 - 몇개고?

blueberrysoda 2024. 7. 17. 23:57
#include <iostream>
using namespace std;

int T, S;

int main(){
    cin >> T >> S;
    if(12 <= T && T <= 16 && S == 0){
        cout << 320 << "\n";
    }
    else{
        cout << 280 << "\n";
    }
    return 0;
}