0_0_25775131_30007.cpp: In function 'int main()': 0_0_25775131_30007.cpp:15:12: error: 'n' was not declared in this scope if(n % 2 == 0 || k != 2) a[0] = -1; ^