open /var/local/lib/isolate/422/box/a.out: no such file or directory
main.cpp: In function 'int main()':
main.cpp:34:43: error: no match for 'operator[]' (operand types are 'std::vector<int>' and '<unresolved overloaded function type>')
34 | dp[i] = dp[prev] + stations[i].second;
| ^
In file included from /usr/include/c++/12/vector:64,
from /usr/include/c++/12/functional:62,
from /usr/include/x86_64-linux-gnu/c++/12/bits/stdc++.h:71,
from main.cpp:2:
/usr/include/c++/12/bits/stl_vector.h:1121:7: note: candidate: 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = int; _Alloc = std::allocator<int>; reference = int&; size_type = long unsigned int]'
1121 | operator[](size_type __n) _GLIBCXX_NOEXCEPT
| ^~~~~~~~
/usr/include/c++/12/bits/stl_vector.h:1121:28: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::vector<int>::size_type' {aka 'long unsigned int'}
1121 | operator[](size_type __n) _GLIBCXX_NOEXCEPT
| ~~~~~~~~~~^~~
/usr/include/c++/12/bits/stl_vector.h:1140:7: note: candidate: 'std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](size_type) const [with _Tp = int; _Alloc = std::allocator<int>; const_reference = const int&; size_type = long unsigned int]'
1140 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT
| ^~~~~~~~
/usr/include/c++/12/bits/stl_vector.h:1140:28: note: no known conversion for argument 1 from '<unresolved overloaded function type>' to 'std::vector<int>::size_type' {aka 'long unsigned int'}
1140 | operator[](size_type __n) const _GLIBCXX_NOEXCEPT
| ~~~~~~~~~~^~~
main.cpp:35:53: error: no match for 'operator[]' (operand types are 'std::vector<std::vector<int> >' and '<unresolved overloaded function type>')
35 | in...