acgo题库
  • 首页
  • 题库
  • 学习
  • 天梯
  • 备赛

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
  • 竞赛
  • 讨论
  • 团队
  • 商城
登录
注册
题目详情提交记录(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
    bilibili۞
    空间掌握者时空双修者维度操控者位操作忍者进制转换师ASCII炼金师
    11阅读
    0回复
    3点赞
暂无数据

提交答案之后,这里将显示提交结果~

首页