# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
823757 | 2023-08-13T05:34:23 Z | vjudge1 | Vision Program (IOI19_vision) | C++14 | 1 ms | 212 KB |
#include<bits/stdc++.h> #include "vision.h" #define fi first #define se second #define ll long long using namespace std ; const int N = 200, M = 200 ; bool a[N][M] ; //int add_not(vector<int> v) //{ //} //int add_and(vector<int> v) //{ //} //int add_or(vector<int> v) //{ //} //int add_xor() //{ //} void construct_network(int n, int m, int k) { bool flag = 0 ; if(n <= 10 && m <= 10) { for(int x1 = 0 ; x1 < n ; x1++) for(int y1 = 0 ; y1 < m ; y1++) for(int x2 = 0 ; x2 < n ; x2++) for(int y2 = 0 ; y2 < m ; y2++) { vector<int> v ; v.push_back(x1 * m + y1) ; v.push_back(x2 * m + y2) ; if(add_or(v) == 1 && add_xor(v) == 0) { add_or(v) ; return ; } } } } //signed main() //{ // int n, m, k ; // cin >> n >> m >> k ; // for(int i = 0 ; i < n ; i++) // for(int j = 0 ; j < n ; j++) // cin >> a[i][j] ; // construct_network(n, m, k) ; // return 0 ; //}
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | on inputs (0, 0), (0, 1), expected 1, but computed 0 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | on inputs (0, 0), (0, 1), expected 1, but computed 0 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | on inputs (0, 0), (0, 1), expected 1, but computed 0 |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | on inputs (0, 0), (0, 1), expected 1, but computed 0 |
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 | 0 ms | 212 KB | on inputs (0, 0), (0, 1), expected 1, but computed 0 |
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 | on inputs (0, 0), (0, 1), expected 1, but computed 0 |
2 | Halted | 0 ms | 0 KB | - |