
贪心
贪心
斯文~
努力搬砖 低调潜水
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
3773. 兔子跳
https://www.acwing.com/problem/content/3776/ 这个注意是二维的,因此可以跳等腰三角形 #include<iostream> using namespace std; int main() { int T,n,x; cin>>T; while(T--) { int t,a=0; int f=0; cin>>n>>x; whi原创 2021-11-05 22:32:41 · 605 阅读 · 0 评论 -
POJ - 3253 Fence Repair
https://vjudge.net/problem/POJ-3253 和合并果子的题一样 #include<cstdio> #include<iostream> #include<algorithm> #include<queue> using namespace std; int main() { int n,x; long long ans; while(~scanf("%d",&n)) { priority_queue<in原创 2021-07-27 10:33:44 · 88 阅读 · 0 评论