#include <stdio.h>

int main() {
    int A[1000][1000],B[1000][1000],c[1000];
    int a,b,c;
    void DFS(int a,int b)
    {
        B[0][0]=1;
        c[0]=1;
        
    }
    scanf("%d",&a);
    for(int i=0;i<a;i++)
    {
        scanf("%d",a);
        scanf("%d %d"x[0][i],y[0][i]);
    }
    

Embed on website

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