// Gorivo
package Bronze_IV_4;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Ex14065 {
static final double GALON = 3.785411784;
static final double MILE = 1.609344;
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double n = Double.parseDouble(br.readLine());
System.out.println(100 / (MILE / GALON * n));
}
}'백준 풀이 > 자바(Java)' 카테고리의 다른 글
| 백준 20232 자바 - Archivist (0) | 2024.04.29 |
|---|---|
| 백준 15025 자바 - Judging Moose (0) | 2024.04.28 |
| 백준 6887 자바 - Squares (0) | 2024.04.26 |
| 백준 9699 자바 - RICE SACK (0) | 2024.04.24 |
| 백준 31614 자바 - 分 (Minutes) (0) | 2024.04.23 |