# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
625275 | eNGy | Tracks in the Snow (BOI13_tracks) | C++17 | 1947 ms | 1048576 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#include <iostream>
#define c(x) (cerr << __LINE__ << ": " << #x << ' ' << (x) << endl, (x))
#define vis() (cerr << __LINE__ << endl)
#define ll long long
#define f first
#define s second
#define pb push_back
#define rsz resize
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
#define mp make_pair
using namespace std;
vector<string> F;
vector<vector<int>> G;
vector<set<int>> A;
int N, M;
bool ok(int I, int J){
if(I < 0 || I >= N || J < 0 || J >= M) return false;
return true;
}
void dfs(int I, int J, char a, int e){
if(!ok(I, J)) return;
if(F[I][J] != a || G[I][J]) return;
G[I][J] = e;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |