-
[java]백준 오늘의 날짜는? 16170번알고리즘 문제풀이/백준(자바) 2023. 4. 22. 23:27
코드
import java.time.LocalDate; public class BOJ_16170 { public static void main(String[] args) { LocalDate now =LocalDate.now(); System.out.println(now.getYear()); System.out.println(now.getMonthValue()); System.out.println(now.getDayOfMonth()); } }
링크
https://www.acmicpc.net/problem/16170
'알고리즘 문제풀이 > 백준(자바)' 카테고리의 다른 글
[java]백준 돌 게임 9655번 (0) 2023.04.23 [java]백준 크냐? 4101번 (0) 2023.04.22 [java]백준 A+B - 6 10953번 (0) 2023.04.21 [java]백준 큰 수 곱셈 13277번 (0) 2023.04.20 [java]백준 We love kriii 10718번 (0) 2023.04.20