# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
494594 | uncripted | Awesome Arrowland Adventure (eJOI19_adventure) | C++11 | 104 ms | 8960 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include<bits/stdc++.h>
using namespace std;
#define f first
#define s second
#define pb push_back
long long n,m;
char a[505][505];
char c[4]={'N','E','S','W'};
bool bound(long long x,long long y){
if(x<0 || y<0 || x>=n || y>=m){
return 0;
}
return 1;
}
long long dp[505][505];
long long dif(char x, char y){
long long ix=0,iy=0;
if(x=='X'){
return 1e9;
}
for(long long i=0; i<4; i++){
if(c[i]==x){
ix=i;
}
}
for(long long i=0; i<4; i++){
if(c[i]==y){
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |