import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
int a = Integer.parseInt(st.nextToken());
int b = Integer.parseInt(st.nextToken());
int v = Integer.parseInt(st.nextToken());
int temp = (v - a) / (a - b);
if((v - a) % (a - b) != 0) temp += 2;
else temp++;
System.out.println(temp);
br.close();
}
}
'Coding Test > 백준' 카테고리의 다른 글
[백준/자바] 28014 - 첨탑 밀어서 부수기 (0) | 2023.05.12 |
---|---|
[백준/자바] 2798 - 블랙잭 (1) | 2023.05.12 |
[백준/자바] 10989 - 수 정렬하기 3 (0) | 2023.05.12 |
[백준/자바] 10798 - 세로읽기 (0) | 2023.05.12 |
[백준/자바] 2164 - 카드2 (0) | 2023.05.12 |