摘要: 1.纪律 2.(1)代码前 时间/空间/知识点 解题步骤 (2)代码中:代码作用 (3)代码后: a:提交、解题时间、测试数据(五组:一组样例,四组包括极值、负数、环等特殊情况) 阅读全文
posted @ 2023-11-22 21:07 黄浠锐 阅读(13) 评论(0) 推荐(0)
摘要: [拓扑排序](http://www.jzoj.cn/problem.php?cid=5807&pid=4 "拓扑排序") ``` #include using namespace std; vector g[1001]; priority_queue,greater > q; int rudu[10 阅读全文
posted @ 2023-08-04 15:55 黄浠锐 阅读(30) 评论(0) 推荐(0)
摘要: [图论强联通分量(tarjan)算法](http://www.jzoj.cn/problem.php?cid=5808&pid=3 "图论强联通分量(tarjan)算法") ``` #include using namespace std; int n,m,cnt,cntb,ans; vector 阅读全文
posted @ 2023-08-04 15:50 黄浠锐 阅读(21) 评论(0) 推荐(0)
摘要: [亲戚(数据加强)](http://www.jzoj.cn/problem.php?cid=5808&pid=7 "亲戚(数据加强)") ``` #include using namespace std; int parent[500001]; int n,m,p; int find(int x)/ 阅读全文
posted @ 2023-08-04 15:47 黄浠锐 阅读(6) 评论(0) 推荐(0)
摘要: [【USACO】热浪](http://www.jzoj.cn/problem.php?cid=5810&pid=4 "【USACO】热浪") ``` #include using namespace std; struct node { int u,dist; node(int _u,int _di 阅读全文
posted @ 2023-08-04 15:43 黄浠锐 阅读(28) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; string st;int main(){ cout<<"Hello world!"<<endl; return 0;} 阅读全文
posted @ 2023-07-19 10:34 黄浠锐 阅读(73) 评论(0) 推荐(0)