Problem competition
User cobnet
Submission Time 2023-01-29 20:30:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘int main()’:
competition.cpp:44:24: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type’ {aka ‘struct std::pair<int, int>’} has no member named ‘push_back’
44 | scoredifferential[i].push_back(make_pair(i, k));
| ^~~~~~~~~
competition.cpp:47:7: error: ‘v’ was not declared in this scope
47 | sort(v.begin(), v.end(), [](const auto &left, const auto &right) {
| ^