0_0_34191171_23414.cpp: In function 'int main()': 0_0_34191171_23414.cpp:32:26: error: cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '...' while(~scanf("%s",str)) { ^