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:
3 s
Memory Limit:
16 MB
EC-Final 2022
K. Magic
This problem is prepared by
xtqqwq .