제출 #1263983

#제출 시각아이디문제언어결과실행 시간메모리
1263983liangjeremySorting (IOI15_sorting)C++20
컴파일 에러
0 ms0 KiB
#include<"sorting".h>
#include<bits/stdc++.h>
#define fi first
#define se second
//#define int long long
using namespace std;
using db=double;
using ll=int64_t;
using sll=__int128;
using lb=long double;

int findSwapPairs(int n, int a[], int m, int x[], int y[], int p[], int q[]){
	int lst=0; 
	for(int i=0; i<n; i++){
		if(a[i]==i)continue; 
		for(int j=i+1; j<n; j++){
			if(a[j]==i){
				p[lst]=i; q[lst]=j; swap(a[i],a[j]); lst++; break; 
			}
		}
	}
	return lst; 
}

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

sorting.cpp:1:9: fatal error: "sorting".h: No such file or directory
    1 | #include<"sorting".h>
      |         ^~~~~~~~~~~~~
compilation terminated.