QOJ.ac
QOJ
QOJ will undergo maintenance on July 5th from 02:00 to 04:00 (UTC +8). The service may be unavailable during this time.
Time Limit:
8 s
Memory Limit:
512 MB
# 1814. Kingdoms and Quarantine
统计
The problem was used in the following contest: