0_0_20497784_6396.cpp: In function 'int main()': 0_0_20497784_6396.cpp:26:46: error: 'abs' was not declared in this scope value[!p][abs(j-weight[i])] = true; ^