个人记录图论#include<bits/stdc++.h> using namespace std; map<int,vector > E; int main(){ int n,m; cin>>n>>m; int x,y; //有向图 // for(int i=1;i<=m;i++){ //…