蓝桥杯算法训练-景点游览-题解(C++代码) 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; bool compare(int a,int b){ r…… 题解列表 2021年02月17日 0 点赞 0 评论 232 浏览 评分:0.0
简单易懂还是STL香 摘要:#include<bits/stdc++.h> using namespace std; //写一个仿函数 class MyPrint { public: voi…… 题解列表 2021年04月16日 0 点赞 0 评论 118 浏览 评分:0.0
2212——————景点游览 摘要: n = int(input()) for i in sorted(list(map(int,input().split())))[::-1]:print(i,end=' ') …… 题解列表 2022年07月07日 0 点赞 0 评论 232 浏览 评分:0.0
题解 2212: 蓝桥杯算法训练-景点游览 摘要:解题思路:把小的数慢慢往后面放就可以啦。注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){&nbs…… 题解列表 2025年04月08日 0 点赞 0 评论 52 浏览 评分:0.0