#include <bits/stdc++.h> #define int long long //(有超時風險) #define endl '\n' using namespace std; //需要改動數組直接改動N,M即可 const int N=2e5+10,M=1e3+10; //常用的數組 int a[N],pre[N]; signed main() { std::ios::sync_with_stdio(false); cin.tie(0);cout.tie(0); return 0; }