Submission #721207

# Submission time Handle Problem Language Result Execution time Memory
721207 2023-04-10T13:54:20 Z nguyentunglam Vision Program (IOI19_vision) C++17
0 / 100
5 ms 1108 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 - j) + abs(k - l) == k) {
                lst.push_back(add_and({i * w + j, k * w + l}));
            }
        }
    }
    add_or(lst);
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB WA in grader: Instruction with no inputs
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 5 ms 1108 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 WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -