#include <iostream> 
#include <algorithm>
using namespace std;
                    
    int main() {
    int n,k;
    cin >> n >> k;
    int arr[100000][100000] = {0,};
    for (int i = 0;i < n ;i++ ) {
        int x,y;
        cin >> x >> y;
        arr[x][y] = 1;
    }
    return 0;
}

Embed on website

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