文章
25
粉丝
137
获赞
7
访问
129.2k
#include<iostream>
#include<vector>
using namespace std;
int main()
{
int n = 0, col_num = 0, row_num = 0, col_start = -1, col_end = -1,row_start = -1,row_end = -1;
bool flag;
string str;
while (cin >> str) {
flag = false;
for (int i = 0; i < str.size(); ++i) {
if (str[i] == '#') {
flag = true;
if (row_start == -1)
row_start = n;
if (col_start == -1)
&nbs...
登录后发布评论
暂无评论,来抢沙发