const int Max=100; vector<int> graph[Max]; while(m--) { int x,y; cin>>x>>y; graph[x].emplace_back(y); indegree[y]++; }
点赞 1

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务