QOJ.ac
QOJ
QOJ will be undergoing maintenance on May 4, 2024 from 02:00 (UTC +8) to 04:00 (UTC +8), during which time service may be interrupted.
Time Limit:
8 s
Memory Limit:
512 MB
# 856. Cactus
统计
The problem was used in the following contest: