| Problem | stepgame |
|---|---|
| User | jwsk0 |
| Submission Time | 2025-10-29 20:31:17 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
stepgame.cpp: In function ‘int main()’:
stepgame.cpp:17:21: error: invalid operands of types ‘long long int’ and ‘long long int*’ to binary ‘operator-’
17 | minStepR = psum[i]-max_element(psum,psum+i-1);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | long long int*
| long long int