Problem badpotato
User ethantanaki
Submission Time 2026-11-30 20:52:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

badpotato.cpp: In function ‘int main()’:
badpotato.cpp:11:6: error: ‘w’ was not declared in this scope
11 | if(w[i]==-1) dp[i]=0;
| ^