# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
144810 | cfalas | Vision Program (IOI19_vision) | C++14 | 4 ms | 1144 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "vision.h"
#include<bits/stdc++.h>
using namespace std;
void construct_network(int H, int W, int K) {
std::vector<int> Ns;
for(int x1=0;x1<W;x1++){
for(int y1=0;y1<H;y1++){
//cout<<endl<<x1+W*y1<<": \n";
vector<int> a(2);
a[0] = (y1*W + x1);
int origx=K+x1, origy=y1;
for(int i=0;i<K;i++){
//cout<<origx+origy*W<<" ";
if(origx<W && origx>=0 && origy<H && origy>=0){
a[1] = origy*W+origx;
Ns.push_back(add_and(a));
}
origy++;
origx--;
}
for(int i=0;i<K;i++){
//cout<<origx+origy*W<<" ";
if(origx<W && origx>=0 && origy<H && origy>=0){
a[1] = origy*W+origx;
Ns.push_back(add_and(a));
}
origy--;
origx--;
}
for(int i=0;i<K;i++){
//cout<<origx+origy*W<<" ";
if(origx<W && origx>=0 && origy<H && origy>=0){
a[1] = origy*W+origx;
Ns.push_back(add_and(a));
}
origy--;
origx++;
}
for(int i=0;i<K;i++){
//cout<<origx+origy*W<<" ";
if(origx<W && origx>=0 && origy<H && origy>=0){
a[1] = origy*W+origx;
Ns.push_back(add_and(a));
}
origy++;
origx++;
}
}
}
int a = add_or(Ns);
}
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |