0_0_20610256_27950.cpp: In function 'int main()': 0_0_20610256_27950.cpp:19:38: error: 'sum' was not declared in this scope if(op == 1 && cnt * 2 <= sum - 2) ^