0_0_32306150_3657.cpp: In function 'int main()': 0_0_32306150_3657.cpp:20:5: error: expected ',' or ';' before 'if' if(it!=s.begin()){ ^ 0_0_32306150_3657.cpp:24:6: error: 'else' without a previous 'if' }else{ ^