- 博客(2)
- 收藏
- 关注
原创 问题 F: 节目安排
#include <algorithm> #include <iostream> using namespace std; struct program { int start; int end; }a[100]; bool cmp(program a, program b) { return a.end < b.end; } void main() { int n; while(cin >> n && n)...
2022-04-14 16:50:07 142
原创 问题 E: 天宝便利店
#include <iostream> #include <algorithm> using namespace std; struct store { long long money; //价格 long long xjb;//性价比 int s; //s升 }; bool cmp(store a, store b) { return a.xjb < b.xjb; } void main() { store a[4]; for...
2022-04-14 16:15:13 275
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人