摘要:
经典排序贪心开始时间从小到大为第一关键字结束时间从大到小为第二关键字从尾至头连一遍输出结果#include #include using namespace std;const int MAXN = 1e6 +... 阅读全文
摘要:
基础题(水题)数组存对应字母坑点在于结合题意判重一个原字母对应两个加密字母不行两个原字幕对应一个加密字母不行#include #include using namespace std;int main(){ ch... 阅读全文
摘要:
水题 结合题意双指针夹逼 #include #include #include using namespace std;const int MAXN = 3e4 + 10;int arr[MAXN];void ... 阅读全文
摘要:
水题 #include #include using namespace std;const int MAXN = 5e3 + 10;struct prc{ int price, val; }arr[MAXN]... 阅读全文