0_0_15940277_3921.cpp: In function 'int main()': 0_0_15940277_3921.cpp:18:9: error: expected ')' before 'printf' printf("%d\n",x[n]-x[m]+1); ^