摘要: ##A - Dial Up 找到最近的与第一个位置不同的数字的位置,第一次转换需要这个距离的代价,之后的转换只需要 \(1\) 的代价左右切换即可 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int 阅读全文
posted @ 2021-09-12 10:32 Tartarus_li 阅读(73) 评论(0) 推荐(0) 编辑