#include #include #include using namespace std; typedef long long LL; const int N = 1e6+10; struct Node{ LL a,b; bool operator<(const Node &A)const{ return a+b