[ARC196A] Adjacent Delete 题解
假设
容易发现,当我们只能选相邻的数相减时,依然可以达到这个答案,因为在任意时刻,总存在至少一对较大数与较小数相邻。
当
时间复杂度
- Title: [ARC196A] Adjacent Delete 题解
- Author: Getaway_Car
- Created at : 2025-04-10 12:00:00
- Updated at : 2026-01-19 20:04:21
- Link: https://getawaycar1024.github.io/article/ARC196A-Adjacent-Delete-题解/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments