블로그
-
(수정 중)PCCP모의고사2회 보물지도
.*; class Solution { class MyData{ int posX; int posY; int len; boolean used; int beforeMovePoint; public MyData(int x, int y, int l, boolean u){ posX = x; posY = y; len = l; used = u; } public String toString
blog.naver.com · 2025.08.20
-
순위
.*; class Solution { class Node { int node; int win_cnt = 0; int lose_cnt = 0; boolean visited = false ; List link = new LinkedList<>(); public Node(int n){ node = n; } public String toString(){ return
blog.naver.com · 2025.08.05
-
프로그래머스 보석쇼핑
.*; class Solution { public int[] solution(String[] gems) { // 전체 종류 수 Set types = new HashSet<>
blog.naver.com · 2025.08.22
-
지게차와 크레인
.*; class Solution { public int solution(String[] storage, String[] requests) { int size_y = storage.length ; int size_x = storage[0].length(); String[][] container = new String[size_y][size_x]; for(int y=0;y
blog.naver.com · 2025.05.22
-
정보처리기사 실기 : 자바
자바 기본 구조 - 소스코드 *‘클래스’ 단위 객체 지향 프로그래밍 언어의 기본 구조 변수와 메서드로 구성됨 Public class 이름{ public static void main 자료형 - 문자 char - 문자열 string - 정수 byte, shor, int, long - 부동 소수점 float, double .......
blog.naver.com · 2025.07.14
-
정보처리기사,정보처리산업기사,정보처리기능사 전자계산기 사용 안내
예를 들어 답안 : 2 class Gisafirst { public static void main(String[] args) { int i = 17; i += 1; i -= 2; i
blog.naver.com · 2025.07.08
-
프로그래머스 개인정보 수집 유효기간
.*; import java.time.LocalDate; import java.time.format.DateTimeFormatter; class Solution { public int [] solution(String today, String[] terms, String[] privacies) throws Exception{ DateTimeFormatter formatter
blog.naver.com · 2025.04.17
-
자바 월 추가하기
static String addMonthsToDate(String dateStr, int monthsToAdd) { // 날짜 형식 지정 (예: "2024-04-16") DateTimeFormatter [] args) { String dateStr = ".......
blog.naver.com · 2025.04.17
-
정규식
.*; public class RegexMultiLine { public static void main(String[] args) { String text = """ Task test1
blog.naver.com · 2025.04.22
-
bitbucket 파일 awx 전송
bitbucketRepoUrl, String bitbucketAccessToken, String filePath, String awxHost, String awxUser, String awxPassword, String awxFolderPath) throws JSchExcept.......
blog.naver.com · 2025.03.24