Problem mountainjourney
User 3rica
Submission Time 2026-06-24 10:43:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountainjourney.cpp: In function ‘int main()’:
mountainjourney.cpp:26:23: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
26 | for(int i = 0; i < A.size; i++){
| ~~^~~~
| ()