题解列表

筛选

1099: 校门外的树

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;const int N=1e7;using namespace std;int ……

鬼知道我写了多少遍

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e3;ll a……

信息学奥赛一本通T1278- 复制书稿

摘要:解题思路:分治, r为分治求出的最短时间,从后向前遍历书稿,将书稿复制边界存入res数组中注意事项:参考代码:#include#includeusing namespace std; const i……

STL stack模板类

摘要:解题思路:使用STL模板类stack处理元素入栈出栈注意事项:参考代码:#include<iostream> #include<string> #include<stack> #include<……