# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
210704 | erd1 | Two Transportations (JOI19_transportations) | C++14 | 2262 ms | 97344 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>
#include "Azer.h"
#define pb push_back
#define ss second
#define ff first
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef int64_t lld;
typedef pair<int, int> pii;
namespace {
priority_queue<pii, vector<pii>, greater<pii>> pq;
vector<vector<pii>> G;
vector<int> dist;
const int POINT = 11, WEIGHT = 9;
int pending = 0;
bool pendF = false; // true: POINT, false: WEIGHT
void pend(int len){
assert(pending == 0);
pendF = (len == POINT);
pending = len;
//cerr << "Azer: pend" << endl;
}
void send(int x, int len){
for(int i = len-1; i >= 0; i--)
SendA((x>>i)&1);
//cerr << "Azer: send " << x << endl;
}
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |