# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
580462 | colossal_pepe | Crossing (JOI21_crossing) | C++17 | 570 ms | 117140 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <iostream>
#include <vector>
#include <set>
#include <cstring>
using namespace std;
struct Node {
int cnt_s[9][3], cnt_t[3];
bool match[9];
int lazy;
Node() {
memset(cnt_s, 0, sizeof(cnt_s));
memset(cnt_t, 0, sizeof(cnt_t));
lazy = -1;
}
};
int n, q;
set<string> dict;
vector<string> all, now(3);
string t;
vector<Node> sgt;
int id(char c) {
if (c == 'J') return 0;
else if (c == 'O') return 1;
else return 2;
}
void init(int u, int l, int r) {
컴파일 시 표준 에러 (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... |