0_0_13859783_19181.cpp: In function 'int main()': 0_0_13859783_19181.cpp:26:9: error: expected ';' before 'if' if(a[n - 1] + a[n - 2] < p){ ^