#include "vision.h"
#include<bits/stdc++.h>
using namespace std;
void construct_network(int h, int w, int k) {
vector<int> lst;
for(int i = 0; i < h; i++) for(int j = 0; j < w; j++) {
for(int k = i + 1; k < h; k++) for(int l = 0; l < w; l++) {
if (abs(i - j) + abs(k - l) == k) {
lst.push_back(add_and({i * w + j, k * w + l}));
}
}
}
if (lst.empty()) return;
add_or(lst);
}
# |
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 |
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 |
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 |
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 |
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 |
3 ms |
1104 KB |
WA in grader: Too many instructions |
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 |
- |