제출 #930681

#제출 시각아이디문제언어결과실행 시간메모리
930681bachhoangxuanMouse (info1cup19_mouse)C++17
컴파일 에러
0 ms0 KiB
#include<bits/stdc++.h> #include "perm.h" using namespace std; void findPermutation(int n) { vector<int> x(n); iota(x.begin(),x.end(),1); int S = query(x); for(int i=0;i<n;i++) for(int j=0;j<n;j++){ swap(x[i],x[j]); int d=query(x); if(d==n) return; else if(d<=S) swap(x[i],x[j]); S=max(S,d); } }

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

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