#include #include #include using namespace std; int main(){ int station; int strain; int start, end; vector stationflag; vector startArray; vector endArray; bool startendflag = false; int odd=0; int even=0; int max; int min; int vectMax, vectMin; cin>>station>>strain; stationflag.resize(station); startArray.resize(strain); endArray.resize(strain); max=0; min=station-1; for(int i=0; i>start>>end; stationflag[start]++; stationflag[end]++; *(startArray.data()+i)=start; *(endArray.data()+i)=end; if(min>start && max