0_0_24917605_3987.cpp: In function 'int main()': 0_0_24917605_3987.cpp:13:15: error: cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '...' scanf("%s",s); ^