Problem couples
User LCJLY
Submission Time 2024-03-13 20:51:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

couples.cpp: In function ‘long long int dp(long long int, long long int)’:
couples.cpp:26:2: error: ‘ns’ was not declared in this scope; did you mean ‘ans’?
26 | ns=max(ans,dp(l+1,r));
| ^~
| ans