/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 16ms 2.887 MiB
#2 Wrong Answer 16ms 2.957 MiB
#3 Wrong Answer 16ms 2.953 MiB

Code

n = int(input())
a = input()
E = 0
M = 0
for i in range(n):
    if a[i] == "E":
        E += 1
    elif a[i] == "M":
        M += 1
    else:
        continue
if E > M:
    print("Emon")
elif E == M:
    print("IDK")
else:
    print("Mahfuz")

Information

Submit By
Type
Submission
Problem
P1031 Clash of programmers
Contest
Brain booster #2
Language
Python 3 (Python 3.12.3)
Submit At
2024-03-06 14:56:54
Judged At
2024-11-11 03:41:46
Judged By
Score
20
Total Time
16ms
Peak Memory
2.957 MiB