https://www.luogu.com.cn/problem/P1217这是那道题的链接。
Time Limit Exceeded,时间超出限制,这个你可以在做之前简单计算 一下题的时间复杂度,再决定要写 多少层循环那些