Loading

摘要: A - Diagonal String #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; char a[3][3]; int main() { for (int i = 阅读全文
posted @ 2021-02-06 17:06 WinterFa1L 阅读(80) 评论(0) 推荐(0)
摘要: A. Space Navigation 大意: 给出一个字符串,代表飞船从原点开始的前进方向,问能否经过删掉几个字符,使得飞船最终能够到达$(x,y)$点 思路: 直接算横纵方向上能达到的最远点即可 #include <bits/stdc++.h> using namespace std; type 阅读全文
posted @ 2021-02-06 02:56 WinterFa1L 阅读(45) 评论(0) 推荐(0)