摘要: 递推 点击查看代码 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int N = 1e5 + 10; char a[10][10]; char g[10][10]; int dx[] = {0, -1 阅读全文
posted @ 2022-07-11 23:22 wKingYu 阅读(50) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<iostream> #include<cstring> using namespace std; typedef long long LL; const int N = 1e6 + 10; int n; int h[N], e[N], ne[N], w[N], idx 阅读全文
posted @ 2022-07-11 21:24 wKingYu 阅读(42) 评论(0) 推荐(0)