일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 라이브러리
- 초연결 사회의 데이터통신과 네트워킹
- java
- pulsesecurevpn
- 자바스크립트
- vpn 에러
- 단어장
- pulsesecure
- 갤럭시북5
- Algorithm
- ArrayList
- 함수
- 스크롤
- 백준
- 네트워킹
- JavaScript
- 알고리즘
- quizlet
- html
- Node.js
- 데이터통신
- 연습문제
- React
- 일본어
- ai select
- 한빛아카데미
- JLPT
- 이벤트
- gsap
- 자바
- Today
- Total
목록Algorithm (91)
umilove98의 블로그

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Q17496 { public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); String s = bf.readLine(); StringTokenizer st = new StringTokenizer(s); int n = Integer.parseInt(st.nextToken()); in..

백준 온라인 저지에서 Java로 문제를 해결한 후 제출하려고 했는데 컴파일 에러가 난 모습이다. Java소스를 제출할 경우에 class명을 Main으로 설정해 주어야 한다.

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Q17256 { public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); String s1 = bf.readLine(); String s2 = bf.readLine(); StringTokenizer st = new StringTokenizer(s1); StringTokenizer..

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Q16430 { public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); String s = bf.readLine(); StringTokenizer st = new StringTokenizer(s); int a = Integer.parseInt(st.nextToken()); in..

import java.time.LocalDateTime; public class Q16170 { public static void main(String[] args) { LocalDateTime now = LocalDateTime.now(); now.minusHours(9); System.out.println(now.getYear()); System.out.println(now.getMonthValue()); System.out.println(now.getDayOfMonth()); } }

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Q15964 { public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); String s = bf.readLine(); StringTokenizer st = new StringTokenizer(s); long a = Integer.parseInt(st.nextToken()); l..