0_0_14982906_4020.cpp: In function 'int main()': 0_0_14982906_4020.cpp:5:21: error: expected ')' before '!' token while(scanf("%d",&n)!-1) ^ 0_0_14982906_4020.cpp:5:24: error: expected ';' before ')' token while(scanf("%d",&n)!-1) ^