0_0_37694648_2493.cpp: In function 'int main()': 0_0_37694648_2493.cpp:20:10: error: 'n' was not declared in this scope if(res-n==0) cout<<"Grass Win!"<<endl; ^