# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
612711 | definitelynotmee | Vision Program (IOI19_vision) | C++17 | 27 ms | 3388 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 "vision.h"
#include<bits/stdc++.h>
#define ff first
#define ss second
#define all(x) x.begin(),x.end()
using namespace std;
using ll = long long;
using pii = pair<int,int>;
using pll = pair<ll,ll>;
template<typename T>
using matrix = vector<vector<T>>;
void construct_network(int H, int W, int K) {
int diag = H+W-1;
matrix<int> prin(diag), sec(diag);
for(int i = 0; i < H; i++){
for(int j = 0; j < W; j++){
prin[i+j].push_back(i*W+j);
sec[i-j+W-1].push_back(i*W+j);
}
}
// cout << "principal:\n";
// for(int i = 0; i < prin.size(); i++){
// cout << i << ": ";
// for(int j : prin[i]){
// cout << "(" << j/W << ',' << j%W << ") ";
// }
// cout << '\n';
# | 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... |