Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:15:12: error: expected ')' before '!' token
while(p!0)
^
/in/foo.cc:15:14: error: expected ';' before ')' token
while(p!0)
^
/in/foo.cc:26:1: warning: statement has no effect [-Wunused-value]
}
^
/in/foo.cc:13:15: warning: unused variable 'ans' [-Wunused-variable]
long long ans=1;
^~~
/in/foo.cc:26:1: error: expected '}' at end of input
}
^