error: '>>' should be '> >' within a nested template argument list| 错误现场: vector<pair<ll, int>> v; 在“<<”中加一个空格即可: vector<pair<ll, int> > v;