제출 #428201

#제출 시각아이디문제언어결과실행 시간메모리
428201HazemArranging Shoes (IOI19_shoes)C++14
컴파일 에러
0 ms0 KiB
#include "shoes.cpp"
#include <cstdio>
#include <cassert>

using namespace std;

int main() {
	int n;
	assert(1 == scanf("%d", &n));
	vector<int> S(2 * n);
	for (int i = 0; i < 2 * n; i++)
		assert(1 == scanf("%d", &S[i]));
	fclose(stdin);

	long long result = count_swaps(S);

	printf("%lld\n", result);
	fclose(stdout);
	return 0;
}

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

shoes.cpp:1:10: fatal error: shoes.cpp: No such file or directory
    1 | #include "shoes.cpp"
      |          ^~~~~~~~~~~
compilation terminated.