# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
98810 | bogdan10bos | Growing Vegetable is Fun 3 (JOI19_ho_t3) | C++14 | 273 ms | 325632 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
//#define FILE_IO
typedef pair<int, int> pii;
typedef pair<int, pii> p3i;
int N;
string s;
int getid(char ch)
{
if(ch == 'R') return 0;
if(ch == 'G') return 1;
if(ch == 'Y') return 2;
return -1;
}
char idtochar(int id)
{
if(id == 0) return 'R';
if(id == 1) return 'G';
if(id == 2) return 'Y';
return 0;
}
int dp[405][405][405][3]; /// dp[r][g][y]
int lst[405][405][405][3];
vector<p3i> pos[3];
# | 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... |