# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
587916 | MilosMilutinovic | Sjeckanje (COCI21_sjeckanje) | C++14 | 595 ms | 36220 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
/**
* author: wxhtzdy
* created: 02.07.2022 15:37:43
**/
#include <bits/stdc++.h>
using namespace std;
struct node {
long long dp[2][2];
long long L, R;
};
const int MAX = 200000;
const long long inf = 1e10;
long long a[MAX];
node st[4 * MAX];
int sgn(long long x) {
return (x < 0 ? -1 : (x == 0 ? 0 : 1));
}
node merge(node l, node r) {
node ret;
ret.L = l.L;
ret.R = r.R;
for (int i = 0; i < 2; i++) {
for (int j = 0; j < 2; j++) {
ret.dp[i][j] = -inf;
컴파일 시 표준 에러 (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... |