# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
442015 | iag99 | Tracks in the Snow (BOI13_tracks) | C++17 | 1536 ms | 118856 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 ll long long
#define mod 998244353
using namespace std;
int h,w;
vector<int> dx={1, -1, 0, 0};
vector<int> dy={0, 0, 1, -1};
int depth[4000][4000], ans = 1;
char grid[4000][4000];
bool isfree(int x, int y)
{
if(x>=0 && x<h && y>=0 && y<w && grid[x][y]!='.')
{
return true;
}
return false;
}
int main()
{
cin>>h>>w;
for(int i=0; i<h; i++)
{
for(int j=0; j<w; j++)
{
cin>>grid[i][j];
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |