摘要: 1 #include 2 #include 3 using namespace std; 4 struct test 5 { 6 int a; 7 int b; 8 friend bool operator > n; 18 for (int i = 1;i > vec[i].a >> vec[i].b; 20 sort(vec + 1,... 阅读全文
posted @ 2019-07-23 20:41 IAT14 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 using namespace std; 3 int n,a[110],tot,res; 4 int check(int x) 5 { 6 if (x != 0) 7 return 1; 8 return 0; 9 } 10 int main() 11 { 12 scanf("%d",&n); 13 f... 阅读全文
posted @ 2019-07-23 16:02 IAT14 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 using namespace std; 3 int a[51000]; 4 int len,m,n; 5 bool check(int x) 6 { 7 int last = 0; 8 int ans = 0; 9 for (int i = 1;i m) 17 return false; 18 re... 阅读全文
posted @ 2019-07-23 11:37 IAT14 阅读(233) 评论(0) 推荐(0) 编辑