# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
579215 | 2022-06-18T13:31:23 Z | SlavicG | Vision Program (IOI19_vision) | C++17 | 2 ms | 1360 KB |
#include "vector" #include "vision.h" #define P push_back void construct_network(int H, int W, int K) { int i,j,N,l; std::vector <int> b,v,h,r; for(i=0;i<H;i++){ for(j=0;j<W;)v.P(i*W+j++); b.P(add_xor(v)); v={b.back()}; } for(j=0;j<W;j++){ for(i=0;i<H;)v.P(i++*W+j); b.P(add_xor(v)); v = {b.back()}; } l=v[0]; for(i=0;i<9;){ r.P(add_xor(b)); if(K>>i&1)r[i]=add_not(r[i++]); N=l,h.clear(); for(int j:b)h.P(add_and({N,j})),N=add_xor({N,j}); b=h; } add_not(add_or(r)); }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 976 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 976 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 976 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 976 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 976 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 976 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 1360 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 976 KB | WA in grader: Too many instructions |
2 | Halted | 0 ms | 0 KB | - |