250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- JavaScript
- 초연결 사회의 데이터통신과 네트워킹
- React
- 라이브러리
- 백준
- Node.js
- gsap
- 단어장
- ArrayList
- 네트워킹
- 알고리즘
- JLPT
- 자바스크립트
- prettier-code formatter
- 일본어
- reactjs code snippets
- 초연결사회의 데이터통신과 네트워킹
- 자바
- scrolly
- 한빛아카데미
- html
- 이벤트
- 연습문제
- ScrollToPlugin
- java
- 데이터통신
- 함수
- 스크롤
- Algorithm
- quizlet
Archives
- Today
- Total
umilove98의 블로그
백준 5554 Java 본문
반응형
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Q5554 {
static int input = 0;
public static void main(String[] args) throws IOException {
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
for (int i = 0; i < 4; i++) {
input += Integer.parseInt(bf.readLine());
}
System.out.println(input/60);
System.out.println(input%60);
}
}
반응형
'algorithm > 백준' 카테고리의 다른 글
백준 8370 Java (0) | 2021.07.17 |
---|---|
백준 6749 Java (0) | 2021.07.17 |
백준 5522 Java (0) | 2021.07.17 |
백준 3046 Java (0) | 2021.07.17 |
백준 3003 Java (0) | 2021.07.17 |