#pragma GCC optimize("O3") #include //yukicoder does not support C99 int x[100000]; int main(){ int n,d,k,r,s; scanf("%d%d%d",&n,&d,&k); for(int i=0;in-i)e=n-i; for(int j=0;jn-s)e=n-s; for(int j=0;j