ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
IGM
Statement
Submissions
Hall of Fame
Report Issue
Time Limit
Memory Limit
1 second
256 MiB
Log in
to submit!
If the statement isn't loading correctly, you can
open it in a new tab
.
Attachments
Solution Templates
Java
igm.java
Python
igm.py
C
igm.c
C++
igm.cpp
Problem info
Subtask 1 (30 points) has 15 cases.
Subtask 2 (30 points) has 23 cases.
Subtask 3 (40 points) has 26 cases.