编写题解 1931: 蓝桥杯算法提高VIP-逆序排列(C++代码) 摘要:解题思路:就一个数组20行就解决了,根本不用那么麻烦注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a[20],…… 题解列表 2022年02月05日 0 点赞 0 评论 312 浏览 评分:8.0
蓝桥杯算法提高VIP-逆序排列-题解(Python代码)python开荒柘 一行! 摘要:又是一道水题 ```python print(' '.join([i for i in input().split()][:-1][::-1])) ``` 陈总管水啊,水啊,形如那滔滔江河,把…… 题解列表 2020年02月19日 0 点赞 1 评论 410 浏览 评分:7.3
蓝桥杯算法提高VIP-逆序排列 保证简单(C语言代码) 摘要:解题思路:不知道为什么其他题解这么可怕。。注意事项:参考代码: #include <stdio.h> int main() { int n,i=0; int a[100]; do{ …… 题解列表 2019年03月21日 1 点赞 0 评论 943 浏览 评分:6.0
蓝桥杯算法提高VIP-逆序排列(c语言) 摘要:#include<stdio.h>#include<string.h>#include<math.h>int&n…… 题解列表 2025年03月01日 0 点赞 0 评论 107 浏览 评分:0.0
1931简单数组 摘要:解题思路:遇0跳出注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[250],i=0; while…… 题解列表 2022年07月29日 0 点赞 0 评论 163 浏览 评分:0.0
1931: 蓝桥杯算法提高VIP-逆序排列 摘要:解题思路:注意事项:参考代码:l=list(map(int,input().split())) for i in l[:-1][::-1]: print(i,end=' '…… 题解列表 2022年01月30日 0 点赞 0 评论 242 浏览 评分:0.0
这题的描述有毛病:结尾有空格才对,没有空格会报错。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 21int uf(long b[],int m,int n){ int t; if(m<n/2){ t=b[m]; …… 题解列表 2021年11月13日 0 点赞 0 评论 338 浏览 评分:0.0
蓝桥杯算法提高VIP-逆序排列 (C++代码) 摘要:解题思路:list是比较容易被忽略的数据结构,但是其实作用很大注意事项:参考代码:#include <iostream> #include <stdio.h> #include <list> #…… 题解列表 2018年12月20日 0 点赞 0 评论 557 浏览 评分:0.0
蓝桥杯算法提高VIP-逆序排列-题解(Java代码) 摘要:```java import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; publ…… 题解列表 2021年01月25日 0 点赞 0 评论 242 浏览 评分:0.0
蓝桥杯算法提高VIP-逆序排列-题解(C++代码) 摘要:``` #include #include using namespace std; int a[25]; bool cmp(int l,int r){return l>r;};…… 题解列表 2020年07月18日 0 点赞 0 评论 401 浏览 评分:0.0