[백준] 14924번 : 폰 노이만과 파리 - Java(자바)

강재원·2022년 9월 17일
0

[코딩테스트] Java

목록 보기
45/200



https://www.acmicpc.net/problem/14924

import java.util.*;
public class Main {
    public static void main(String args[]) {
        Scanner sc=new Scanner(System.in);
        int s=sc.nextInt();
        int t=sc.nextInt();
        int d=sc.nextInt();
        int time=d/(s*2);
        System.out.format("%d",time*t);
    }
}
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글