Wrong Answer
Code
ron = int(input())
round = input()
mahfuz = 0
emon = 0
idk = 0
for i in round:
if i == "M":
mahfuz += 1
elif i == "E":
emon += 1
else:
idk += 1
if mahfuz > emon:
print("Mahfuz")
elif mahfuz < emon:
print("Emon")
else:
print("IDK")
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:32:41
- Judged At
- 2024-11-11 03:41:53
- Judged By
- Score
- 20
- Total Time
- 22ms
- Peak Memory
- 3.07 MiB