# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
908951 | vjudge1 | Pinball (JOI14_pinball) | C++17 | 715 ms | 94280 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define ll long long
using namespace std;
ll inf=1e18;
struct device{
ll i, a, b, c, d;
ll dp[2]={inf, inf};
bool operator<(const device B)const{
return b<B.b;
}
};
struct segtree{
segtree *left, *right;
int l, r, mid;
ll mn=inf;
segtree(int x, int y){
l=x;
r=y;
mid=(l+r)/2;
if(l==r) return;
left = new segtree(l,mid);
right = new segtree(mid+1,r);
}
void update(int x, ll dp, bool force=false){
if(x<l || r<x) return;
if(x<=l && r<=x){
# | 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... |