# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
291576 | 2020-09-05T13:42:14 Z | medmdg | Vision Program (IOI19_vision) | C++14 | 2 ms | 1148 KB |
#include<bits/stdc++.h> #include "vision.h" using namespace std; void construct_network(int H, int W, int K){ vector<int> b; for(int i=0;i<H*W;i+=20){ vector<int> h; for(int j=i;j<min(i+20,H*W);j++){ h.push_back(j); } if(h.size()) if(add_or(h)){ for(int j=i;j<min(H*W,i+20);j++){ if(add_not(j)==0){ b.push_back(j); } } } } int x1=b[0]%W; int x2=b[1]%W; int y1=b[0]/W; int y2=b[1]/W; bool tr=false; if(abs(x1-x2)+abs(y1-y2)==K){ tr=true; } if(tr){ int f=add_or(b); }else{ int f=add_not(b[0]); } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 384 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 384 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 384 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 384 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 512 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 384 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 1148 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 384 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |