Compile Error

foo.cc: In function 'int main()':
foo.cc:5:10: error: 'p' was not declared in this scope
  cin>>n>>p;
          ^
foo.cc:15:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(a[i]==a[j])
    ^~
foo.cc:17:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     break;
     ^~~~~
foo.cc:27:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(b[i]==b[j])
    ^~
foo.cc:29:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     break;
     ^~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1054 A10-3 数组的去重
比赛
初二国庆庆祝赛
语言
C++
递交时间
2021-10-01 19:44:16
评测时间
2021-10-01 19:44:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes