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