首页 > 签订协议
头像 あおいSakura
发表于 2021-01-23 23:35:11
签订协议 题目链接:nowcoder 217601 到主站看:https://blog.csdn.net/weixin_43346722/article/details/113064299 题目大意 有一个每个数都不相同的数组,然后要从最大值不停地选取数,然后每次只能从左往右扫过去,碰到的要拿的才能 展开全文
头像 acclererator
发表于 2021-01-24 18:06:02
#include <iostream> #include <algorithm> using namespace std; struct country//结构体保存国家属性 { int power;//战力 int num;//坐在第几号位子 }; int n; count 展开全文
头像 cheese_case
发表于 2021-01-23 18:00:00
include<bits/stdc++.h> using namespace std;const int maxn = 1e6+9;struct node{ int no; int zhan;}stu[maxn];bool cmp(node a,node b){ ret 展开全文

等你来战

查看全部