Playrix Codescapes Cup (Codeforces Round #413, rated, Div. 1 + Div. 2), problem: (A) Carrot Cakes Solution In C/C++

main(n,t,k,d){scanf(“%d%d%d%d”,&n,&t,&k,&d);puts(d<(n-1)/k*t?”YES”:”NO”);}

Leave a Reply

Your email address will not be published. Required fields are marked *