0_0_30318403_32590.cpp: In function 'int main()': 0_0_30318403_32590.cpp:24:49: error: expected ';' before ')' token for (int i = 1; i <= n; i++)scanf("%d", &a[i])); ^