#include <cstdio>
#include <algorithm>

using namespace std;

int x[500005]={};
int e[500005]={};

int main()
{
    int n;
    scanf("%d",&n);

    for(int i=0; i<n; i++)
    {
        scanf("%d %d",&x[i],&e[i]);
    }

    int lpd=n;
    for(int i=1; i<)
    {

    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: