上一页 1 ··· 6 7 8 9 10
摘要: 题目链接:https://www.luogu.com.cn/problem/P3373 本题思路主要也是借鉴了洛谷题解区的方法 通过建立两个标签,tag1用于加法记忆,tag2用于乘法记忆 关键是注意两个运算标签的处理 当个简单模板康康 1 #include<bits/stdc++.h> 2 #de 阅读全文
posted @ 2020-07-22 22:06 LegendN 阅读(141) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1257 #include<iostream>#include<math.h>#include<algorithm>#include<string>#include<string.h>using namespace 阅读全文
posted @ 2019-12-17 21:03 LegendN 阅读(126) 评论(0) 推荐(0)
摘要: #include<iostream>#include<algorithm>#include<string.h>#include<vector>#include<cmath>using namespace std;const int maxn=1e5+10;vector<int>v[maxn];int 阅读全文
posted @ 2019-12-05 23:22 LegendN 阅读(283) 评论(0) 推荐(0)
摘要: #include<iostream>#include<algorithm>#include<string.h>#include<queue> #include<cmath>using namespace std;int data[20][20];int route[20];bool vis[20]; 阅读全文
posted @ 2019-12-04 12:44 LegendN 阅读(275) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10