- 博客(3)
- 收藏
- 关注
原创 公共钥匙盒 c++
满分get!!; #include<iostream> #include<cstring> #include<string> #include<algorithm> using namespace std; struct node{//end 为下课时间 int w; int s; int c; int end; }; bool cmp(node a,node b){ return a.w<b.w; } int main(){ int
2021-09-26 17:16:35
342
原创 海港,求助!!c++
只能通过部分数据,救命,要寄了。 #include<iostream> using namespace std; struct node{ int num; int time; }; int main(){//flag当前国籍数,timeover判断船是否超过24h,index记录每次国籍人数 int i,j,flag=0,record[300]={0},country[100][300],index[100],z,k,timeover[100]={0}; int n;//reco
2021-09-26 17:15:03
1597
原创 2021-09-26
分数线划定c++ #include<algorithm> #include<iostream> using namespace std; struct node{ int num; int score; }; bool cmp(node a,node b){ if(a.score!=b.score) return a.score>b.score; else return a.num<b.num; } int main(){ int i,j,index=0,
2021-09-26 17:13:39
86
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人