Problem reinforcement
User MasterCoder8421
Submission Time 2025-12-01 19:50:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reinforcement.cpp: In function ‘bool check_possible(ll, ll, ll, ll, ll, ll, std::vector<std::vector<long long int> >, const std::vector<std::vector<long long int> >&)’:
reinforcement.cpp:48:56: error: no matching function for call to ‘std::vector<std::vector<std::pair<long long int, long long int> > >::vector(int, std::vector<long long int>)’
48 | vector<vector<pair<ll, ll>>> adj(1048576, vector<ll>());
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from reinforcement.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:650:2: note: candidate: ‘templa