#pragma GCC optimize ("O3") #include int N,Q; long int x; int q; struct train { long long int cool; long long int setpoint; int connected; int alias; }; int main(){ int modified=1; scanf("%d %d",&N,&Q); struct train t[N]; for(int i =0;i