Main.cc: In function ‘int main()’:
Main.cc:18:15: warning: statement has no effect [-Wunused-value]
for(j>=0;){
~^~~
Main.cc:18:19: error: expected primary-expression before ‘)’ token
for(j>=0;){
^
Main.cc:18:19: error: expected ‘;’ before ‘)’ token
Main.cc:19:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(arr[i]=arr[j]){
~~~~~~^~~~~~~
Main.cc:29:2: error: expected ‘}’ at end of input
}
^