Submission #615495

#TimeUsernameProblemLanguageResultExecution timeMemory
615495Mohammed_AtalahArranging Shoes (IOI19_shoes)C++17
Compilation error
0 ms0 KiB
#include "shoes.h"
#include "shoes.cpp"
#include <cstdio>
#include <cassert>
#include <bits/stdc++.h>
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;
}

Compilation message (stderr)

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