Problem | lemonade |
---|---|
User | boaznumberd5555 |
Submission Time | 2024-12-14 14:32:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lemonade.cpp: In function ‘int32_t main()’:
lemonade.cpp:11:18: error: ‘x’ was not declared in this scope
11 | cin>>arr[x].first>>arr[x].second;
| ^
lemonade.cpp:13:15: error: ‘tasty’ was not declared in this scope
13 | int dp[2][tasty+5];
| ^~~~~
lemonade.cpp:14:12: error: ‘dp’ was not declared in this scope
14 | memset(dp,LLONG_MAX,sizeof(dp));
| ^~
lemonade.cpp:18:21: error: ‘y’ was not declared in this scope
18 | int nxt=y+arr[x].second;
| ^
lemonade.cpp:18:27: error: ‘x’ was not declared in this scope
18 | int nxt=y+arr[x].second;
| ^
lemonade.cpp:20:12: error: ‘nxt’ was not declared in this scope
20 | if(nxt>tasty) continue;
| ^~~
lemonade.cpp:21:15: error: ‘nxt’ was not declared in this scope
21 |