Main.cc: In function 'int main()':
Main.cc:55:2: error: 'it' was not declared in this scope
it n,k;
^
Main.cc:56:7: error: 'n' was not declared in this scope
cin>>n;
^
Main.cc:58:8: error: 'k' was not declared in this scope
cin>>k;
^
Main.cc:63:8: error: 'k' was not declared in this scope
if(a[k]>0){
^