0_0_37931716_8799.cpp: In function 'void solve()': 0_0_37931716_8799.cpp:18:8: error: request for member 'clear' in 'vg', which is of non-class type 'std::pair<std::pair<int, int>, int> [1000005]' vg.clear(); ^