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