0_0_38021785_3417.cpp: In function 'int main()':
0_0_38021785_3417.cpp:30:53: error: cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '...'
scanf("%s%d%d",q[i].s,q[i].num,q[i].time);
^
0_0_38021785_3417.cpp:36:38: error: cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '...'
printf("%d\n",q[(int)m].s) ;
^
|