不会有人像我一样 sb,为了省常数只把自认为需要开 long long 的变量开 long long 然后其他还用 int 吧。
#define int long long,然后 inf = 1e15。祝你早日 AC。qwq
#define int long long