0_0_36959140_16614.cpp: In function 'int main()': 0_0_36959140_16614.cpp:34:10: error: 'n' was not declared in this scope if(sum(n) == m && n == sum(m)) cout << "YES" << endl; ^