grandyang / leetcode

Provide all my solutions and explanations in Chinese for all the Leetcode coding problems.
6.15k stars 737 forks source link

std::vector<int> has no member second in beginning of code. #2005

Open sparshgarg23 opened 4 years ago

sparshgarg23 commented 4 years ago

Hello, when I execute the code I get the error std::vector has no member second .Did you mean end This happens in the line graph[a.second].push_back(a.first)