# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
678573 | Tuanlinh123 | Dango Maker (JOI18_dango_maker) | C++17 | 378 ms | 155500 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include<bits/stdc++.h>
#define ll int
#define ld long double
#define pll pair<ll,ll>
#define mp make_pair
#define pb push_back
#define fi first
#define se second
using namespace std;
#define LOCALIO "C:/Users/admin/Documents/Code/"
#define maxn 3100
ll n, m, crr;
char a[maxn][maxn];
ll dp[maxn][maxn][2][2];
bool check(ll i, ll j, ll di)
{
if (di)
{
if (i+2>n || i<=0)
return 0;
if (a[i][j]!='R' || a[i+1][j]!='G' || a[i+2][j]!='W')
return 0;
return 1;
}
else
{
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |