Problem stepgame
User undefinedcritter
Submission Time 2026-07-09 09:48:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepgame.cpp: In function β€˜int main()’:
stepgame.cpp:28:17: error: invalid types β€˜__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}[int]’ for array subscript
28 | dp[i][0] = min(seq[i],seq[i]+seq[i-1]);
| ^