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