# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
906331 | KienTran | Growing Vegetable is Fun 3 (JOI19_ho_t3) | C++14 | 349 ms | 778524 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
const int O = 4e2 + 5;
const int mod = 998244353;
const int inf = 1e9;
int n, pre[3][O], f[3][O][O][O];
vector <int> pos[3];
string s;
void Maximize(int &x, int y){
if (x < y) x = y;
}
void Minimize(int &x, int y){
if (x > y) x = y;
}
void Add(int &x, int y){
x += y;
if (x >= mod) x -= mod;
if (x < 0) x += mod;
}
main(){
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
cin >> n >> s; s = " " + s;
for (int i = 1; i <= n; ++ i){
컴파일 시 표준 에러 (stderr) 메시지
# | 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... |