/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 2ms 328.0 KiB
#2 Accepted 2ms 540.0 KiB
#3 Accepted 2ms 332.0 KiB
#4 Accepted 2ms 328.0 KiB

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