# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
612715 | 2022-07-29T21:45:45 Z | morete | Vision Program (IOI19_vision) | C++17 | 0 ms | 0 KB |
#include<bits/stdc++.h> using namespace std; void construct_network(int H, int W, int K) { int ct = 0; for(int i = 0; i + K < max(W, H); i++){ add_and({i, i + K}); ct++; } vector<int> v; for(int i = H*W; i < H*W + ct; i++) v.push_back(i); add_or(v); }