Main.cc: In function ‘int main()’: Main.cc:11:25: error: ‘class std::vector’ has no member named ‘gebin’; did you mean ‘begin’? int now=upper_bound(v.gebin(),v.end(),a[i])-v.begin(); ^~~~~ begin Main.cc:13:12: error: ‘V’ was not declared in this scope v.insert(V.begin()+now,a[i]); ^