# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
832795 | 2023-08-21T15:22:24 Z | Minindu206 | Vision Program (IOI19_vision) | C++14 | 0 ms | 0 KB |
#include "vision.h" #include <bits/stdc++.h> using namespace std; void construct_network(int h, int w, int k) { vector<int> inds; for (int i = 0; i < h; i++) { for (int j = 0; j < w; j++) { if(i + j == k) { inds.push_back(i * w + j); } } } add_or(inds) }