摘要: https://www.luogu.com.cn/problem/P1223 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n; 4 struct t{ //定义结构体存放等待时间和排队编号 5 int w, no; 6 }; 7 t 阅读全文
posted @ 2020-07-22 18:20 TFLSNOI 阅读(343) 评论(0) 推荐(0) 编辑
摘要: https://www.luogu.com.cn/problem/P2240 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n, t; 4 struct jb{ //金币结构体 5 int m, v;//重量,价值 6 }; 7 jb 阅读全文
posted @ 2020-07-22 17:56 TFLSNOI 阅读(199) 评论(0) 推荐(0) 编辑