제출 #1160379

#제출 시각아이디문제언어결과실행 시간메모리
1160379Kalata_56Gap (APIO16_gap)C++20
0 / 100
34 ms1096 KiB
#include "gap.h" //#include<bits/stdc++.h>; long long findGap(int T,int N){ long long maxa=1e18; long long pre=0; long long ans=maxa; for(int i=0;i<N;i++){ long long k1,k2; MinMax(pre+1,maxa,&k1,&k2); if(k1-pre<ans){ ans=k1-pre; } pre=k1; } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...