| Problem | selfdefence |
|---|---|
| User | j48495734 |
| Submission Time | 2026-07-11 03:50:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
selfdefence.cpp: In function ‘int main()’:
selfdefence.cpp:66:61: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
66 | int &x = dp2[immunity + 1][today_vitamin][new_streak];
| ^
selfdefence.cpp:67:8: error: ‘x’ was not declared in this scope
67 | x += perms;
| ^
selfdefence.cpp:70:56: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
70 | int &x = dp2[immunity][today_vitamin][new_streak];
| ^