Submission

Status:

-P-P-

Subtask/Task Score:

40/100

Score: 40

User: Fadil

Problemset: คำนำหน้าชื่อ

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-05 14:20:55

#include<bits/stdc++.h>
using namespace std;
int main(){
    string s;
    getline(cin , s);
    int a,b,c;
    cin >> a >> b >> c;
    if(a == 1){
        if(b < 15){
            cout << "Master " << s;
        }else{
            cout << "Mr. " << s;
        }
    }else{

    }
}