QOJ.ac
QOJ
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
Time Limit:
4 s
Memory Limit:
512 MB
Total points:
100
# 3557. Ruins 3
Statistics
The problem was used in the following contest: