2020年10月15日

奶酪

摘要: #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; inline int read(){ int x=0,f=1; char ch=getchar(); whil 阅读全文

posted @ 2020-10-15 17:01 fishsit 阅读(55) 评论(0) 推荐(0) 编辑

愤怒的小鸟(angry bird )

摘要: 又是一款当年风靡一时的游戏所改编出的题,但是跟游戏有所不同的是,当小鸟打到猪之后,小鸟并不会改变路线,依旧照的原来的抛物线运动轨迹运动,所以我们这里不难想到要用到状态压缩,而且求数据范围给的很小也不难猜出需要$dp + $搜索。 #include<bits/stdc++.h> using names 阅读全文

posted @ 2020-10-15 11:36 fishsit 阅读(524) 评论(0) 推荐(0) 编辑

导航