Submission #378844

# Submission time Handle Problem Language Result Execution time Memory
378844 2021-03-17T06:01:00 Z autumn_eel Vision Program (IOI19_vision) C++14
0 / 100
11 ms 4648 KB
#include "vision.h"
#include <bits/stdc++.h>
#define rep(i,n)for(int i=0;i<int(n);i++)
using namespace std;

void construct_network(int H, int W, int K) {
	vector<int>look;
	rep(i,H*W){
		int r1=i/W,c1=i%W;
		vector<int>v;
		for(int j=0;j<H*W;j++){
			if(j==i)continue;
			int r2=j/W,c2=j%W;
			if(abs(r1-r2)+abs(c1-c2)!=K){
				v.push_back(j);
			}
		}
		int t=add_or(v);
		look.push_back(add_and({i,t}));
	}
	int t=add_or(look);
	add_not(t);
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 7 ms 768 KB Output is correct
2 Correct 6 ms 620 KB Output is correct
3 Correct 6 ms 748 KB Output is correct
4 Correct 5 ms 620 KB Output is correct
5 Correct 5 ms 620 KB Output is correct
6 Correct 7 ms 768 KB Output is correct
7 Correct 7 ms 620 KB Output is correct
8 Correct 5 ms 620 KB Output is correct
9 Correct 7 ms 768 KB Output is correct
10 Correct 5 ms 620 KB Output is correct
11 Correct 5 ms 620 KB Output is correct
12 Correct 5 ms 644 KB Output is correct
13 Correct 6 ms 620 KB Output is correct
14 Correct 5 ms 620 KB Output is correct
15 Correct 5 ms 768 KB Output is correct
16 Correct 5 ms 620 KB Output is correct
17 Correct 5 ms 620 KB Output is correct
18 Correct 7 ms 620 KB Output is correct
19 Correct 7 ms 620 KB Output is correct
20 Correct 5 ms 620 KB Output is correct
21 Incorrect 1 ms 364 KB WA in grader: Instruction with no inputs
22 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 364 KB Output is correct
2 Correct 1 ms 364 KB Output is correct
3 Incorrect 10 ms 4332 KB WA in grader: Too many inputs
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 11 ms 4648 KB WA in grader: Too many inputs
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB WA in grader: Instruction with no inputs
2 Halted 0 ms 0 KB -