0_0_18931827_10161.cpp: In function 'int main()': 0_0_18931827_10161.cpp:15:7: error: 'i' was not declared in this scope for(i=0;i<s.size();i++) ^