
模拟
吴俊达9812
这个作者很懒,什么都没留下…
展开
-
hihocoder #1632 : Secret Poems
#include <bits/stdc++.h>using namespace std;const int maxn = 105;char str[maxn][maxn],ans[maxn][maxn],vis[maxn][maxn],vis2[maxn][maxn];int dir1[4][2] = { {-1,1},{ 1,-1 },{0,1},{1,0} };int ...原创 2019-09-29 22:32:40 · 106 阅读 · 0 评论 -
计蒜客The Squared Mosquito Coil
模拟注意数组是 r c 的结构,不是 x y 的结构。#include <bits/stdc++.h>using namespace std;const int maxn = 50;char str[maxn][maxn],vis[maxn][maxn];int dir[4][2] = { {0,1},{1,0},{0,-1},{-1,0} };void init...原创 2019-09-30 22:14:41 · 131 阅读 · 0 评论