/ Vijos /

记录详情

Compile Error

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)提供评测服务

信息

递交者
类型
自测
题目
P1282 佳佳的魔法照片
语言
C++
递交时间
2021-11-27 16:04:27
评测时间
2021-11-27 16:04:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes