0_0_37560515_11009.cpp: In function 'void solve()': 0_0_37560515_11009.cpp:237:9: error: 'n' was not declared in this scope cin >> n; ^