Scanner scn=new Scanner (System.in);
int x=scn.nextInt();
int y=scn.nextInt();
int t=scn.nextInt();
int w=scn.nextInt();
int m=y/t;
if(m<x)
{
int n=(x-m),z,l;
int i=1;
while(i<=n)
{
z=i*w;
if(z>=t)
{
l=z/t;
m=m+l;
n=n-i-l;
}
else
i++;
}
System.out.println(m);
}
else
System.out.println(m);
}
}
which test case it is missing?