Problem | race |
---|---|
User | AlphanumericUsername |
Submission Time | 2024-03-17 13:01:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
race.cpp: In function ‘void dfs(long long int, long long int)’:
race.cpp:181:64: error: no match for ‘operator[]’ (operand types are ‘std::pair<long long int, long long int> [200005]’ and ‘std::pair<long long int, long long int>’)
181 | if (s[node][ne]) s[node][ne]=min(s[node][ne],x.second+off[it].second-off[node].second);
| ^
race.cpp:182:36: error: no match for ‘operator[]’ (operand types are ‘std::pair<long long int, long long int> [200005]’ and ‘std::pair<long long int, long long int>’)
182 | else s[node][ne]=x.second+off[it].second-off[node].second;
| ^