Problem fertile
User PlayVoltz
Submission Time 2024-01-09 12:41:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fertile.cpp: In function ‘void fertile(long long int)’:
fertile.cpp:54:37: error: ‘j’ was not declared in this scope
54 | insert(vect[i-1], -(dp[i-1].first+j*vect[i-1]-psum[i-1]), dp[i-1].second);
| ^