# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
44661 | bogdan10bos | Building Bridges (CEOI17_building) | C++14 | 107 ms | 17376 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 <bits/stdc++.h>
using namespace std;
//#define FILE_IO
typedef long long LL;
class LiChao
{
public:
int N, val[100005];
int mp[1000005];
struct line
{
LL x, y;
line() { x = y = 0; }
line(LL _x, LL _y) { x = _x; y = _y; }
};
line aint[400005];
LL F(LL x, line l)
{
return l.x * x + l.y;
}
void addValue(int x)
{
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... |