1072: 青蛙爬井
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in); int high=cin.nextInt();int up=cin.nextInt();int down= cin.nextInt();int time=0;while(time>=0){
time++;high-=up;if(high<=0) break;else high+=down;}System.out.printf("%d",time);}
}