# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
45190 | chonka | Building Bridges (CEOI17_building) | C++98 | 181 ms | 21088 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<iostream>
#include<stdio.h>
#include<set>
using namespace std ;
#define MAXN 100007
#define eps 0.00001
long long inf = (long long)1e18 + 7 ;
int n ;
long long a[ MAXN ] ;
long long b[ MAXN ] ;
long long pref[ MAXN ] ;
long long dp[ MAXN ] ;
struct CHT {
struct line {
long long coef , add ;
double nxt_x ;
int is_query ;
line ( ) { coef = add = nxt_x = is_query = 0 ; }
line ( long long _coef , long long _add ) {
coef = _coef ;
add = _add ;
nxt_x = 0 ;
is_query = 0 ;
Compilation message (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... |