[Error] cannot pass objects of non-trivially-copyable type ‘std::string {aka class std::basic_string}’ through '… 翻译: 不能用scanf输入string。 解决办法:用cin输入