Problem duckhunt37
User polyda
Submission Time 2025-12-22 11:40:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt37.cpp: In function ‘int main()’:
duckhunt37.cpp:47:7: error: ‘ns’ was not declared in this scope; did you mean ‘ans’?
47 | ns=min(ans,dp[i][(1<<n)-1].first+1);
| ^~
| ans