Submission #721222

# Submission time Handle Problem Language Result Execution time Memory
721222 2023-04-10T14:09:57 Z nguyentunglam Vision Program (IOI19_vision) C++17
0 / 100
300 ms 1076 KB
#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 - k) + abs(j - 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 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 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 300 ms 1076 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 -