Problem chocolate
User PlayVoltz
Submission Time 2024-09-06 01:36:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

chocolate.cpp: In function β€˜int32_t main()’:
chocolate.cpp:42:30: error: invalid types β€˜__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type {aka long long int}[long long int]’ for array subscript
42 | pd[i-j+n/2]=min(pd[i-1][j-1], res);
| ^