Problem walking
User Josh28
Submission Time 2023-04-05 17:25:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

walking.cpp: In function ‘void solve()’:
walking.cpp:67:10: error: invalid types ‘std::pair<long double, long double> [n][ll {aka long double}]’ for array subscript
67 | arr[q] = MP(t1, t2);
| ^
walking.cpp:81:24: error: invalid types ‘long long int [n][ll {aka long double}]’ for array subscript
81 | ans = max(ans, dp[q]);
| ^