error: '>>' should be '> >' within a nested template argument list|

错误现场:

vector<pair<ll, int>> v;

在“<<”中加一个空格即可:

vector<pair<ll, int> > v;

原文地址:https://www.cnblogs.com/cszlg/p/2952846.html