# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
673108 | 2022-12-19T18:03:40 Z | tbzard | Vision Program (IOI19_vision) | C++14 | 369 ms | 296 KB |
#include <bits/stdc++.h> using namespace std; int add_not(int n); int add_and(vector<int> ns); int add_or(vector<int> ns); int add_xor(vector<int> ns); void construct_network(int h, int w, int k){ for(int i=0;i<h;i++){ for(int j=0;j<w;j++){ for(int a=i+1;a<h;a++){ for(int b=j+1;b<w;b++){ if(abs(i-a) + abs(j-b) == k){ int out = add_and(vector<int>{i*w+j, a*w+b}); } } } } } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 296 KB | Integer parameter [name=num_gates] equals to 0, violates the range [1, 10000] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 296 KB | Integer parameter [name=num_gates] equals to 0, violates the range [1, 10000] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 296 KB | Integer parameter [name=num_gates] equals to 0, violates the range [1, 10000] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 296 KB | Integer parameter [name=num_gates] equals to 0, violates the range [1, 10000] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | Integer parameter [name=num_gates] equals to 0, violates the range [1, 10000] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | Integer parameter [name=num_gates] equals to 0, violates the range [1, 10000] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 369 ms | 280 KB | Integer parameter [name=num_gates] equals to 0, violates the range [1, 10000] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 296 KB | Integer parameter [name=num_gates] equals to 0, violates the range [1, 10000] |
2 | Halted | 0 ms | 0 KB | - |