Submission #1021544

# Submission time Handle Problem Language Result Execution time Memory
1021544 2024-07-12T19:24:30 Z vjudge1 Vision Program (IOI19_vision) C++17
0 / 100
1 ms 348 KB
#include "vision.h"
#include<vector>
#include<iostream>
using namespace std;

void construct_network(int H, int W, int K){
    int x,y,p;
    int i=0,j=0;
    vector<int>t;
    for(int k=0;k<K;k++){
        x=i+k;
        y=j-K+k;
        if(0<=x&&x<H&&0<=y&&y<W)t.push_back(x*W+y);
        x=i+K-k;
        y=j+k;
        if(0<=x&&x<H&&0<=y&&y<W)t.push_back(x*W+y);
    }
    if(t.size()==1)p=t[0];
    else p=add_or(t);
    add_and({p,0});
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 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 348 KB on inputs (80, 199), (81, 199), expected 1, but computed 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -