답안 #148868

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
148868 2019-09-01T05:17:25 Z mit한의대지망생(#3602, TAMREF, imeimi2000, suzy) King of Chairs (FXCUP4_chairs) C++17
컴파일 오류
0 ms 0 KB
#include "king.h"
#include <vector>

using namespace std;
typedef long long llong;

llong SendInfo(vector<int> W, vector<int> C) {
    return 0;
}
#include "vassel.h"
#include <vector>
#include <set>
#include <tuple>
#define fs first
#define se second

using namespace std;
typedef long long llong;
typedef pair<int, int> pii;

multiset<pii> sp;
void Init(llong B, vector<int> C) {
	for (int i = 0; i < C.size(); ++i) {
		sp.emplace(C[i], i);
	}
}

int Maid(int w) {
	auto it = sp.lower_bound(pii(w, 0));
	if (it == sp.end()) return -1;
	int ret = it->se;
	sp.erase(it);
	return ret;
}

Compilation message

vassal.cpp:1:10: fatal error: vassel.h: No such file or directory
 #include "vassel.h"
          ^~~~~~~~~~
compilation terminated.