제출 #604742

#제출 시각아이디문제언어결과실행 시간메모리
604742almothana05Vision Program (IOI19_vision)C++14
컴파일 에러
0 ms0 KiB
#include "vision.h"
#include "bits\stdc++.h"
int row , col;
pair<int ,int>cmp , comp;
vector<int>num , opt , erg;
pair<int , int> trnasf(int x){
	return {x % col , x / col};
}
using namspace std;
void construct_network(int H, int W , int K) {
	row = H;
	col = W;
	int menge = row * col , pl = menge;
	for(int i = 0 ; i < menge ; i++){
		cmp = transf(i);
		for(int j = i + 1 ; j < menge ; j++){
			comp = transf(j);
			if(abs(cmp.first - comp.first) + abs(cmp.second - comp.second) == K){
				opt.push_back(j);
			}
		}
		if(opt.size()){
			add_or(opt);
			pl++;
			add_and({i , pl - 1});
			num.push_back(pl);
			pl++;
		}
		opt.clear();
	}
	add_or(num);
}

컴파일 시 표준 에러 (stderr) 메시지

vision.cpp:2:10: fatal error: bits\stdc++.h: No such file or directory
    2 | #include "bits\stdc++.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.