| Problem | airport |
|---|---|
| User | ethantanaki |
| Submission Time | 2026-12-04 13:12:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
airport.cpp: In function ‘int main()’:
airport.cpp:13:35: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘push_back’
13 | for(int j=0;j<i;++j) adj[i][j].push_back(x[i]+y[j]);
| ^~~~~~~~~
airport.cpp:16:37: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘push_back’
16 | for(int j=i+1;j<n;++j) adj[i][j].push_back(x[i]+y[j]);
| ^~~~~~~~~