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