0_0_20664624_28454.cpp: In function 'bool solve()': 0_0_20664624_28454.cpp:19:19: error: 'n' was not declared in this scope for(int i=0;i<n;++i) ^