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 "king.h"
long long SendInfo(std::vector<int>, std::vector<int>) {
return 0;
}
#include "vassal.h"
#include <bits/stdc++.h>
using namespace std;
using namespace std;
set<pair<int,int> > c;
void Init(long long B, std::vector<int> C){
assert(B == 0);
for(int i = 0; i < (int)C.size(); i++){
c.insert({C[i], i});
}
}
int Maid(int W){
auto r = c.lower_bound({W, -1});
if(r == c.end()) return -1;
c.erase(r);
return (*r).second;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |