import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readLine();
br.close();
StringTokenizer st = new StringTokenizer(s," ");
double a = Integer.parseInt(st.nextToken());
double b = Integer.parseInt(st.nextToken());
double v = Integer.parseInt(st.nextToken());
int yesterday = (int) Math.ceil((v-a)/(a-b));
System.out.println(yesterday+1);
}
}
틀린 이유 : 시간 제한 간과
728x90
반응형
'매일코테' 카테고리의 다른 글
백준 7단계 no.6 (0) | 2022.07.24 |
---|---|
백준 7단계 no.5 (0) | 2022.07.24 |
백준 7단계 no.3 (0) | 2022.07.24 |
백준 7단계 no.2 (0) | 2022.07.24 |
백준 7단계 no.1 (0) | 2022.07.24 |