SRV

user_1164828 avataruser_1164828
Public07/06/2024 6:49 AM1 snippet
Bao-ve-nong-trang.cpp

Bao ve nong trang

07/06/2024 10:16 AM
Bao-ve-nong-trang.cpp
#include<iostream>
using namespace std;

int n, m;
int a[1555][1555];
bool vis[999][999];
int dx[] = {0, 0, 1, -1, 1, 1, -1, -1};
int dy[] = {1, -1, 0, 0, 1, -1, 1, -1};
int h;
bool ok;