// validation #include"testlib.h" #include using namespace std; using ll=long long; constexpr int MOD=998244353; constexpr int MIN_N=2,MAX_N=200000; constexpr int MIN_M=1,MAX_M=200000; constexpr int MIN_X=1,MAX_X=200000; constexpr int MIN_CT=1,MAX_CT=200000; int main(){ registerValidation(); int N=inf.readInt(MIN_N,MAX_N); inf.readSpace(); int M=inf.readInt(MIN_M,MAX_M); inf.readSpace(); int X=inf.readInt(MIN_X,MAX_X); inf.readEoln(); for(int i=0;i