acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 题解

    #include <iostream> #include <vector> #include <queue> #include <map> #include <string> #include <algorithm> using namespace std; vector<string> topologicalSort(map<string, vector<string>>& graph, map<string, int>& inDegree) { vector<string> result; priority_queue<string, vector<string>, greater<string>> q; // 最小堆保证字典序 } int main() { int n; while (cin >> n) { map<string, vector<string>> graph; map<string, int> inDegree;

    userId_undefined

    bilbili

    出道萌新倔强青铜
    3阅读
    0回复
    1点赞
首页