Problem | eescapism |
---|---|
User | caleb |
Submission Time | 2024-06-29 14:24:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eescapism.cpp: In function ‘int main()’:
eescapism.cpp:8:55: error: lvalue required as left operand of assignment
8 | for (int i=0; i<N; ++i) {sum += ((D[i]*(D[i]+1))/2)%=1000000007; sum %= 1000000007;}
| ^~~~~~~~~~