0_0_24159751_6999.cpp: In function 'int main()':
0_0_24159751_6999.cpp:35:40: error: 'd' was not declared in this scope
else if(num[j - A[i]] == num[i] && d[j] < p[j - A[i]] + A[i])
^
0_0_24159751_6999.cpp:35:47: error: 'p' was not declared in this scope
else if(num[j - A[i]] == num[i] && d[j] < p[j - A[i]] + A[i])
^
|