2838: 有趣的跳跃 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[3005],b[3005],c=0,x…… 题解列表 2023年10月01日 0 点赞 0 评论 254 浏览 评分:9.9
有趣的跳跃 摘要:解题思路:拆分为几个小的模块进行,但感觉很麻烦。1.建立数组a[n],用来存放序列中的每个数字2.用数组c[n],用来存放数组a中相邻两个数差值的绝对值3.对c[n]进行冒泡排序4.判断c[n]数组中…… 题解列表 2023年04月02日 0 点赞 2 评论 694 浏览 评分:9.9