Problem sunshine
User bron
Submission Time 2023-11-24 22:23:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sunshine.cpp: In function ‘int main()’:
sunshine.cpp:34:28: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
34 | if(memo[N-1][K-x] + y > ans) cout<<"YES";
| ^~~
| abs