# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
667839 | 2022-12-02T06:38:51 Z | coding_snorlax | Vision Program (IOI19_vision) | C++14 | 0 ms | 0 KB |
#include<bits/stdc++.h> #include "vision.h" using namespace std; void construct_network(int H,int W,int K){ int Total=max(H,W); vector<int> s={0,K}; for(int i=0;i<=Total-K;i++){ add_and(s); s[0]++; s[1]++; } vector<int> s1; for(int i=Total,i<Total+Total-K;i++){ s1.push_back(i); } add_or(s1); return; }