the problem in concern is https://www.codechef.com/problems/CHEFDETE

```
My program is not compiling and I cant seem to fix it. Could anyone help me understand and correct where and what is wrong syntactically or logically? any hekp ould be appreciated
this is my code in C++
#include<stdio.h>
using namespace std
int main()
{
int a,b,i,j,str[10000],rep[10000];
cin>>a;
for(i=0;i<a;i++)
{
str[i]=i+1;
cin>>rep[i];
}
for(j=0;j<a;j++)
{
for(int k=0;k<a;k++)
{
if str[j]==rep[k]
{str[j]=-1;
break;
}
}
if str[j]!=-1;
{cout<<str[j];}
}
}
return 0;
}
```