# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1166783 | anomori | Tracks in the Snow (BOI13_tracks) | C++20 | 537 ms | 118968 KiB |
#include <bits/stdc++.h>
using namespace std;
/*
ifstream fin("input.in");
ofstream fout("output.out");
*/
#define fin cin
#define fout cout
using ll = long long;
const int nmax = 4001;
struct point {int x,y;};
int n,m;
char mat[nmax][nmax];
int depth[nmax][nmax];
deque<point> dq;
const point d[] = {
{1,0},
{0,1},
{-1,0},
{0,-1}
};
bool inside(int x, int y) {
return 1 <= x and x <= n
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |