0_0_36402541_31812.cpp:56:2: error: stray '\' in program while(cin>>s&&s!=\n){ ^ 0_0_36402541_31812.cpp: In function 'void solve()': 0_0_36402541_31812.cpp:56:20: error: 'n' was not declared in this scope while(cin>>s&&s!=\n){ ^