ORAC
Learn
Problems
Competitions
Leaderboards
...
Log In
Register
Buried Treasure
Statement
Submissions
Hall of Fame
Report Issue
Click here
to see solution write-ups for AIO 2025
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
C++
buried_treasure.cpp
Python
buried_treasure.py
C
buried_treasure.c
Java
buried_treasure.java
Problem info
Subtask 1 (40 points) has 16 cases.
Subtask 2 (40 points) has 21 cases.
Subtask 3 (20 points) has 26 cases.