Main.cc: In function 'int main()':
Main.cc:8:12: error: invalid types 'int[int]' for array subscript
a[i]=0;
^
Main.cc:11:12: error: 'i' was not declared in this scope
if(i>30)
^
Main.cc:13:10: error: 'i' was not declared in this scope
if(z[i]==0){
^
Main.cc:19:4: error: expected ';' before '}' token
}i++
^
Main.cc:31:1: error: expected '}' at end of input
}
^