Main.cc: In function ‘void rd(short int&)’: Main.cc:11:57: error: expected ‘;’ before ‘}’ token while(isdigit(ch)){x=(x<<1)+(x<<2)+(ch^48);ch=getchar()} ^