0_0_15354895_29314.cpp: In function 'int main()':
0_0_15354895_29314.cpp:42:32: error: cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '...'
scanf("%s%d",s[t].a,&s[t].k);
^
0_0_15354895_29314.cpp:45:10: error: 'x' was not declared in this scope
sort(x+1,x+t+1,cmp);
^
0_0_15354895_29314.cpp:59:20: error: 'x' was not declared in this scope
printf("%s\n",x[j].a);
^
|