![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CCF/CSP
CSP代码记录
zaifengzhong52
这个人不太懒,只是不知道写点什么
展开
-
CSP 16-4 消息传递接口 模拟+DFS
16-4 消息传递接口 模拟 + DFS 重点:DFS 初始值的设计, st[] 表示当前进程是否正在等待 #include <cstdio> #include <algorithm> #include <iostream> #include <queue> #include <sstream> #include <cstring> using namespace std; const int N = 10010; int n; s原创 2021-12-04 16:53:25 · 253 阅读 · 0 评论 -
CSP 12th T4 行车路线
/* A3276 317号任务 CSP 16th T5 SPFA 需要手写队列 */ #include <iostream> #include <cstring> #include <algorithm> #include <queue> using namespace std; const int N = 10010, M = 20010, INF = 0x3f; int n, m, k, type[N]; int a[N], v[M],原创 2021-04-03 20:53:26 · 49 阅读 · 0 评论