// 分 (Minutes)
package Bronze_V_5;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Ex31614 {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int h = Integer.parseInt(br.readLine());
int m = Integer.parseInt(br.readLine());
System.out.println(h*60 + m);
}
}
'백준 풀이 > 자바(Java)' 카테고리의 다른 글
백준 6887 자바 - Squares (0) | 2024.04.26 |
---|---|
백준 9699 자바 - RICE SACK (0) | 2024.04.24 |
백준 28938 자바 - Конвейер (0) | 2024.04.22 |
백준 31654 자바 - Adding Trouble (0) | 2024.04.21 |
백준 31606 자바 - 果物 (Fruit) (0) | 2024.04.20 |