0_0_36758205_4019.cpp: In function 'int main()': 0_0_36758205_4019.cpp:52:21: error: cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '...' printf("%d", res[m]); ^