摘要: #include<iostream> #include<algorithm> using namespace std; const int maxn=1010; struct node//三元组结构 { int id;//工作编号 int ab;//在哪个机器 int times;//时间 bool 阅读全文
posted @ 2023-04-18 11:34 刘海烽 阅读(17) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> using namespace std; struct m{ int a; int b; }; struct m N[1001],N1[1001],N2[1001]; int n; bool cmp1(m x,m y){ 阅读全文
posted @ 2023-04-18 11:12 刘海烽 阅读(17) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> struct Str { int w; int num; }; int n; int a[1010], b[1010]; Str s[5000]; int u, v; int ans[1010]; bool cmp(Str x, Str y) { re 阅读全文
posted @ 2023-04-18 00:16 刘海烽 阅读(25) 评论(0) 推荐(0)