0_0_38021787_18708.cpp: In function 'int main()':
0_0_38021787_18708.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_38021787_18708.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) ;
^
|