QOJ.ac
QOJ
QOJ will undergo maintenance on July 4th from 02:00 to 04:00 (UTC +8). The service may be unavailable during this time.
Time Limit:
4 s
Memory Limit:
1024 MB
The 2023 ICPC Asia Jinan Regional Contest. Warm Up
B. Not Another Path Query Problem
This problem is prepared by
Qingyu .