20道选择,三道编程。编程题第一题忘记了,第二题求最少移动次数,第三题求优美串(有red没der) 前两题AC,最后一题0%,求一个大佬讲解一下第三题 贴一下我自己前两题的AC代码 第一题 #include <iostream> #include <vector> using namespace std; int main() { int a = 0, b = 0; cin >> a >> b; if (a > b + 1) { cout << -1 <<...