Submission #162057

#TimeUsernameProblemLanguageResultExecution timeMemory
162057impriGap (APIO16_gap)C++14
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> #include"Gap.h" using namespace std; long long res[100001]; long long findGap(int T,long long N){ long long mi,ma; long long *mn,*mx; *mn=mi; *mx=ma; MinMax(1,10e18,mn,mx); res[1]=mi; res[N]=ma; int curmi=2; int curma=N-1; while(1){ if(curmi>curma)break; MinMax(res[curmi-1]+1,res[curma+1]-1,mn,mx); res[curmi]=mi; res[curma]=ma; } ll r=2LL*10e18; for(int i=1;i<N-1;i++){ res=min(r,res[i+1]-res[i]); } return res; }

Compilation message (stderr)

gap.cpp:2:9: fatal error: Gap.h: No such file or directory
 #include"Gap.h"
         ^~~~~~~
compilation terminated.