0_0_22781852_24100.cpp: In function 'int main()': 0_0_22781852_24100.cpp:18:9: error: 'i' was not declared in this scope if(s[i]!="0") ^