Accepted
Code
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define all(a) a.begin(),a.end()
#define endl '\n'
int main()
{
ios::sync_with_stdio(0); cin.tie(0);
ll n,m;
cin>>n;
string s;
cin>>s;
char x=s[s.size()-1];
if(x=='M')cout<<"Mahfuz\n";
else if(x=='E')cout<<"Emon\n";
else cout<<"IDK\n";
}
Information
- Submit By
- Type
- Submission
- Problem
- P1031 Clash of programmers
- Language
- C++20 (G++ 13.2.0)
- Submit At
- 2024-03-02 16:36:23
- Judged At
- 2024-11-11 03:43:04
- Judged By
- Score
- 100
- Total Time
- 2ms
- Peak Memory
- 540.0 KiB