| Problem | defense101 |
|---|---|
| User | pasit |
| Submission Time | 2026-09-10 17:03:24 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
defense101.cpp: In function ‘int32_t main()’:
defense101.cpp:31:13: error: request for member ‘first’ in ‘dif.std::vector<long long int>::operator[](((std::vector<long long int>::size_type)i))’, 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 | if(dif[i].first > 0LL)
| ^~~~~
defense101.cpp:32:18: error: request for member ‘first’ in ‘dif.std::vector<long long int>::operator[](((std::vector<long long int>::size_type)i))’, which is of non-class type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type’ {aka ‘long long int’}
32 | ans += dif[i].first;
| ^~~~~