0_0_16343951_12393.cpp: In function 'int main()': 0_0_16343951_12393.cpp:8:24: error: expected ')' before '{' token while(~scanf("%d", &n){ ^