0_0_19057870_19167.cpp: In function 'int main()': 0_0_19057870_19167.cpp:4:26: error: expected ')' before '!' token while(~scanf("%d",&n)!) ^ 0_0_19057870_19167.cpp:4:27: error: expected primary-expression before ')' token while(~scanf("%d",&n)!) ^