0_0_25299504_9156.cpp: In function 'int getUP(int, int)': 0_0_25299504_9156.cpp:13:22: error: 'i' was not declared in this scope return dp[j]+sum[i]*sum[j]-(dp[k]+sum[k]*sum[k]); ^