This question already has an answer here:
- class std::vector has no member named [closed] 3 answers
- How to print vector's data 3 answers
- No operator “=” matches these operands 2 answers
when using the fill method or clear the following error appears
request for member ‘clear’ in ‘adj’, which is of non-class type ‘std::vector [1000005]
the declaration is as follows:
vector<int> adj[1000005];
Aucun commentaire:
Enregistrer un commentaire