摘要:
###题目链接:https://www.luogu.com.cn/problem/UVA10652 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 5010; const doub 阅读全文
摘要:
###题目链接:https://www.luogu.com.cn/problem/P3806 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 10010; const int IN 阅读全文
摘要:
##A - Dial Up 找到最近的与第一个位置不同的数字的位置,第一次转换需要这个距离的代价,之后的转换只需要 \(1\) 的代价左右切换即可 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int 阅读全文