# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
172099 | 2019-12-31T06:27:20 Z | dsjong | Vision Program (IOI19_vision) | C++14 | 4 ms | 1140 KB |
#include "vision.h" #include <bits/stdc++.h> using namespace std; int H,W,K; int get(int x,int y){ return x*W+y; } void construct_network(int h, int w, int k) { vector<int>v; H=h, W=w, K=k; for(int i=0;i<H;i++){ for(int j=0;j<W;j++){ vector<int>v2; for(int l=-K;l<=K;l++){ int i1=i+l; int j1=j+(K-abs(l)); if(i1>=0&&i1<h){ if(j1>=0&&j1<w){ v2.push_back(get(i1,j1)); } } } v.push_back(add_and({get(i,j),add_or(v2)})); } } int res=add_or(v); }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 376 KB | WA in grader: Instruction with no inputs |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 376 KB | WA in grader: Instruction with no inputs |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 376 KB | WA in grader: Instruction with no inputs |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 376 KB | WA in grader: Instruction with no inputs |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 376 KB | WA in grader: Instruction with no inputs |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 376 KB | Output is correct |
2 | Incorrect | 2 ms | 256 KB | WA in grader: Instruction with no inputs |
3 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 4 ms | 1140 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 376 KB | WA in grader: Instruction with no inputs |
2 | Halted | 0 ms | 0 KB | - |