# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
135948 | Talant | Robots (IOI13_robots) | C++17 | 1396 ms | 30252 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 "robots.h"
//#include "grader.cpp"
#include <bits/stdc++.h>
#define sc second
#define fr first
#define mk make_pair
#define pb push_back
using namespace std;
const int N = (1e6 + 5);
const int inf = (1e9 + 7);
int a,b,n;
int x[N],y[N],w[N],s[N];
int mxw,mxs;
int u[N];
vector <pair<int,int> > v;
priority_queue<int> q;
vector <int> vec;
bool check (int cur) {
int l = a;
q = priority_queue <int> ();
vec.clear();
for (int i = 1; i <= b; i ++) u[i] = 0;
for (int i = n - 1; i >= 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |