摘要: L2-002 链表去重 #include<bits/stdc++.h> using namespace std; const int N=1e5+10; int f[N],n,m,p[N],q[N]; struct LAN { int z; int nz; }lan[N]; int main() { 阅读全文
posted @ 2023-02-02 17:53 椿の花少年 阅读(27) 评论(0) 推荐(0)
摘要: L2-003 月饼 #include<bits/stdc++.h> using namespace std; int n,need; struct Value { double a,b,v; }val[1010]; bool cmp(Value x,Value y) { return x.v>y.v 阅读全文
posted @ 2023-02-02 16:40 椿の花少年 阅读(21) 评论(0) 推荐(0)