# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
928365 | Kripton | timeismoney (balkan11_timeismoney) | C++17 | 911 ms | 604 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;
struct mazan{
int x, y, c, t;
}much[10001];
long double x;
const long double eps = 1e-9;
bool cmp(mazan a, mazan b)
{
return x * a.c + (1.00 - x) * a.t < x * b.c + (1.00 - x) * b.t - eps;
}
int tata[201], sz[201];
int papa(int nod)
{
if(tata[nod] == nod)
return nod;
return tata[nod] = papa(tata[nod]);
}
int sumT, sumC;
pair <int, int> afis[201], acum[201];
int cnt1;
void join(int a, int b, int c, int t)
{
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |