Problem | stepgame |
---|---|
User | wongethan8192 |
Submission Time | 2023-02-24 16:34:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stepgame.cpp: In function ‘int main()’:
stepgame.cpp:7:15: error: ‘n’ was not declared in this scope
7 | for(int o=0;o<n;o++){sum=min(array[o], sum +V[o]);
| ^
stepgame.cpp:7:22: error: ‘sum’ was not declared in this scope
7 | for(int o=0;o<n;o++){sum=min(array[o], sum +V[o]);
| ^~~
stepgame.cpp:7:35: error: missing template arguments before ‘[’ token
7 | for(int o=0;o<n;o++){sum=min(array[o], sum +V[o]);
| ^