Problem | globalwarming |
---|---|
User | PoTheSloth |
Submission Time | 2023-12-04 17:06:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
globalwarming.cpp: In function ‘int32_t main()’:
globalwarming.cpp:31:67: error: request for member ‘h’ in ‘h.std::vector<long long int>::operator[](((std::vector<long long int>::size_type)thy.std::vector<std::pair<long long int, long long int> >::operator[](((std::vector<std::pair<long long int, long long int> >::size_type)i)).std::pair<long long int, long long int>::second))’, which is of non-class type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’}
31 | else if(h[thy[i].second]>h[thy[i].second+1] && h[thy[i].second].h[thy[i].second-1]){
| ^