0_0_13874166_18651.cpp: In function 'int main()': 0_0_13874166_18651.cpp:18:20: error: 'str' was not declared in this scope scanf("%s",str+1); ^