0_0_30228875_14940.cpp: In function 'int main()': 0_0_30228875_14940.cpp:46:7: error: 's' was not declared in this scope if(s=='U') add(l,r,1,n,1); ^