摘要: 链接:https://ac.nowcoder.com/acm/contest/283/C来源:牛客网 题解:简单模拟,情况较多,把所有条件写全写对,即可。水题一道,我是来混分的qwq代码:#include #include using namespace std;bo... 阅读全文
posted @ 2018-11-26 21:13 UUUUh 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/283/G来源:牛客网 题解:关键在能多配,其实也没啥,把所有情况都列出来,求最小值就ok,一道水题,我是来混分的qwq.代码:#include #include using namespa... 阅读全文
posted @ 2018-11-26 21:08 UUUUh 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/283/F来源:牛客网 题解:二进制状态压缩代码#includeusing namespace std;#define INF 0x3f3f3f3fconst int maxn=1e5+10... 阅读全文
posted @ 2018-11-26 21:03 UUUUh 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/283/D来源:牛客网 题解:博弈,白书挑战p309(POJ 2348)代码#include using namespace std;typedef long long ll;ll a,b;... 阅读全文
posted @ 2018-11-26 21:01 UUUUh 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/283/E来源:牛客网 题解:水题代码#include using namespace std;int main(){ int t; cin>>t; while(t--){... 阅读全文
posted @ 2018-11-26 20:58 UUUUh 阅读(286) 评论(0) 推荐(0) 编辑