| Problem | duckhunt39 |
|---|---|
| User | lucas |
| Submission Time | 2026-03-04 00:42:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt39.cpp: In function ‘int main()’:
duckhunt39.cpp:9:15: error: expected ‘;’ before ‘for’
9 | dp[1] = dp[0]
| ^
| ;
10 | for (int i = 0; i < n; i++){
| ~~~
duckhunt39.cpp:10:18: error: ‘i’ was not declared in this scope
10 | for (int i = 0; i < n; i++){
| ^
duckhunt39.cpp:19:25: error: expected ‘)’ before ‘{’ token
19 | cout << min(dp[n-1],min{dp[n-2],dp[n-3]);
| ~ ^
| )
duckhunt39.cpp:21:1: error: expected ‘}’ at end of input
21 | }
| ^
duckhunt39.cpp:5:14: note: to match this ‘{’
5 | signed main(){
| ^