# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
366836 | topovik | Patkice (COCI20_patkice) | C++14 | 1 ms | 492 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#define pb push_back
#define f first
#define s second
using namespace std;
typedef long long ll;
const ll oo = 1e9;
const ll N = 1e3;
vector <pair<vector <char>, bool> > ans;
bool mrk[N][N];
string s[N];
int n, m;
int sx, sy;
bool good(int x, int y)
{
return (x >= 0 && y >= 0 && x < n && y < m);
}
void Rec(int x, int y)
{
if (good(x, y) && mrk[x][y] || s[x][y] == '.' || s[x][y] == 'o')
{
ans.back().s = 0;
return;
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |