上一页 1 ··· 7 8 9 10 11 12 13 14 下一页
摘要: 思路 既然给出的都是最短路,那么使用floyd算法扫描整个图,不应该出现有新的更短路情况 AC代码 #includeusing n... 阅读全文
posted @ 2021-05-20 16:30 斯文~ 阅读(25) 评论(0) 推荐(0)
摘要: AC代码 #includeusing namespace std;int main(){ int n; while(cin>>n ... 阅读全文
posted @ 2021-05-18 15:21 斯文~ 阅读(21) 评论(0) 推荐(0)
摘要: 解析: 使用位运算快速向最大值逼近 AC代码 #include#includeusing namespace std;int ma... 阅读全文
posted @ 2021-05-17 18:04 斯文~ 阅读(25) 评论(0) 推荐(0)
摘要: AC代码 #include#include#includeusing namespace std;const int N=1e5+... 阅读全文
posted @ 2021-05-16 17:44 斯文~ 阅读(22) 评论(0) 推荐(0)
摘要: AC代码 #include#include#include#includeusing namespace std;int n,m... 阅读全文
posted @ 2021-05-15 17:27 斯文~ 阅读(21) 评论(0) 推荐(0)
摘要: 题目描述 The fight goes on, whether to store numbers starting with the... 阅读全文
posted @ 2021-05-10 18:21 斯文~ 阅读(23) 评论(0) 推荐(0)
摘要: AC代码 #includeusing namespace std;int e[1100];int k,n,m,sum,c=0;vo... 阅读全文
posted @ 2021-05-10 17:57 斯文~ 阅读(23) 评论(0) 推荐(0)
摘要: AC代码 #include#includeusing namespace std;int main(){ int f=0; str... 阅读全文
posted @ 2021-05-09 19:25 斯文~ 阅读(20) 评论(0) 推荐(0)
摘要: AC代码 #include#includeusing namespace std;int main(){ int t,f,i; c... 阅读全文
posted @ 2021-05-09 19:21 斯文~ 阅读(21) 评论(0) 推荐(0)
摘要: vector 有迭代器 可随机访问 vector x; int t; x.push_back(t); //把t插入到x的尾部 x... 阅读全文
posted @ 2021-05-07 20:15 斯文~ 阅读(23) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 下一页

你好!