提交时间:2026-06-10 19:06:28

运行 ID: 444084

#include<iostream> using namespace std; int main(){ int high,up,down,s=0,t=0; cin>>high>>up>>down; while(s<high){ s=s+up-down; t++; if(s>=high){ break; } } cout<<t-1; return 0; }