Problem | bank |
---|---|
User | user123 |
Submission Time | 2023-10-09 13:47:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bank.cpp: In function ‘int main()’:
bank.cpp:27:13: error: expected ‘;’ before ‘if’
27 | if (rem[prev]+b[a]<s[dp[prev]])
| ^~
bank.cpp:32:13: error: expected ‘}’ before ‘else’
32 | else if (rem[prev]+b[a]==s[dp[prev]])
| ^~~~
bank.cpp:23:9: note: to match this ‘{’
23 | {
| ^
bank.cpp:32:30: error: invalid types ‘int [8388608][<unresolved overloaded function type>]’ for array subscript
32 | else if (rem[prev]+b[a]==s[dp[prev]])
| ^
bank.cpp:32:47: error: invalid types ‘int [8388608][<unresolved overloaded function type>]’ for array subscript
32 | else if (rem[prev]+b[a]==s[dp[prev]])
| ^
bank.cpp:34:31: error: invalid types ‘int [8388608][<unresolved overloaded function type>]’ for array subscript
34 |