foo.cc:9:27: error: expected initializer before ':' token
typedef pair<int, int> PII:
^
foo.cc:13:1: error: 'PII' does not name a type
PII person[N];
^~~
foo.cc: In function 'int main()':
foo.cc:27:3: error: 'person' was not declared in this scope
person[i] = { t, i };
^~~~~~
foo.cc:27:3: note: suggested alternative: 'perror'
person[i] = { t, i };
^~~~~~
perror
foo.cc:30:7: error: 'person' was not declared in this scope
sort(person + 1, person + n + 1);
^~~~~~
foo.cc:30:7: note: suggested alternative: 'perror'
sort(person + 1, person + n + 1);
^~~~~~
perror
[Hydro](https://hydro.ac)提供评测服务