水水,弱弱飘过~编译就省了吧。
#include
using namespace std;
int main(void)
{
int len,n,d;
while(cin>>len>>n>>d,len||n||d)
{
int temp=0;
temp=len-n;
int ans=temp/(n-d);
if(temp%(n-d))
ans++;
cout<