Problem | deque |
---|---|
User | Pyrros |
Submission Time | 2024-02-16 09:57:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
deque.cpp: In function ‘ll sol(int, int)’:
deque.cpp:20:8: error: conflicting declaration ‘ll ans’
20 | ll ans = max(c1, c2);
| ^~~
deque.cpp:13:9: note: previous declaration as ‘ll& ans’
13 | ll &ans = dp[l][r];
| ^~~