摘要: cf: 1.https://codeforces.com/problemset/problem/1739/B 题目大意: 给定一个数组B,令数组B[i]=abs(a[i]-a[i-1)),你的任务是尽可能的还原A数组,输出任意满足条件的构造数组 做法: 利用题目给出的条件构造数组即可,首先肯定是a[ 阅读全文
posted @ 2022-10-27 21:38 江上舟摇 阅读(62) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_39416311/article/details/102762635 阅读全文
posted @ 2022-10-27 09:36 江上舟摇 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 转载地址:https://www.acwing.com/blog/content/10034/ 阅读全文
posted @ 2022-10-27 09:33 江上舟摇 阅读(10) 评论(0) 推荐(0) 编辑