The Hurdle Race

  • + 0 comments

    include

    include

    define max 100

    int main() { int n,k,i,a[max],max1,j; scanf("%d\t%d",&n,&k); for(i=0;imax1) { max1=a[i]; } } j=max1-k; if(j<0) { printf("0"); } else { printf("%d",j); } return 0; }