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 "vision.h"
#include "bits/stdc++.h"
//#define int long long
#define all(v) v.begin() , v.end()
#define sz(a) (int)a.size()
using namespace std;
void construct_network(int n, int m, int k){
if(n==1){
vector<int> query;
for(int i=0;i+k<m;i++){
vector<int> xd;
xd.push_back(i);
xd.push_back(i+k);
query.push_back(add_and(xd));
}
add_or(query);
}
else{
vector<int> query;
for(int i=0;i+k<n;i++){
vector<int> xd;
xd.push_back(i);
xd.push_back(i+k);
query.push_back(add_and(xd));
}
add_or(query);
}
}
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |