# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
26049 | nibnalin | Split the sequence (APIO14_sequence) | C++14 | 1806 ms | 89796 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <iostream>
#include <cstdio>
#include <vector>
using namespace std;
typedef long long int lli;
typedef long double dbl;
const lli maxn = lli(1e5)+5, maxk = 205;
int A[maxn], dp2[maxn][maxk];
lli p[maxn], dp[maxn][2];
struct line {
int id;
dbl m, c;
line(dbl _m = 0.00, dbl _c = 0.00, int _id = -1)
{
m = _m, c = _c, id = _id;
}
};
struct CHT {
int sz = 0, ptr = 0;
line st[maxn];
inline dbl intersect(line a, line b)
{
return (b.c-a.c)/(a.m-b.m);
}
컴파일 시 표준 에러 (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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |