随笔分类 -  牛客

摘要:A.进攻 https://ac.nowcoder.com/acm/contest/8564/A 题解:将战机攻击力从小到大排列,基地也如此。由于基地可以多次摧毁,线性扫描每个战机能获得的最大贡献。 #include<bits/stdc++.h> using namespace std; const 阅读全文
posted @ 2020-11-17 14:46 cumtljz 阅读(186) 评论(0) 推荐(0)
摘要:A 牛逼队友写的,貌似卡常? #include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<algorithm> #include<map> using namespace std; typedef lo 阅读全文
posted @ 2020-10-26 20:29 cumtljz 阅读(117) 评论(0) 推荐(0)