0_0_21871973_3054.cpp: In function 'int main()': 0_0_21871973_3054.cpp:56:45: error: 'p' was not declared in this scope int cur = sum(i-1, j-1) - sum(i-1, max(p[i-1][j], find(j-1))-1); ^