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