너T야? 나 T(story)야….

  • 홈
  • 태그
  • 방명록

2024/11/05 3

백준 1026 - Java

import java.util.Arrays;import java.util.Collections;import java.util.Scanner;public class BJ1026 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] A = new int[N]; Integer[] B = new Integer[N]; // 내림차순 정렬을 위해 Integer 사용 // A, B 입력 for (int i = 0; i

백준 2024.11.05

백준 12865 - Java

import java.util.Scanner;public class BJ12865 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int K = sc.nextInt(); int[] weight = new int[N + 1]; // 물건의 무게 배열 int[] value = new int[N + 1]; // 물건의 가치 배열 int[][] dp = new int[N + 1][K + 1]; for (int i = 1; i  전형적인 동적계획법 문제인 배낭 채우기 문제이다.

백준 2024.11.05

백준 9655 - Java

import java.io.*;public class BJ9655 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(br.readLine()); //상근 승 :SK 창영 : CY if(N%2==1) { System.out.println("SK"); }else { System.out.println("CY"); } }} 서로 홀수만 입력하기 때문에 ..

백준 2024.11.05
이전
1
다음
더보기
프로필사진

너T야? 나 T(story)야….

github : https://github.com/hyun4965

  • 분류 전체보기 (211)
    • 컴퓨터 네트워크 (23)
    • 운영체제 (26)
    • 알고리즘 (4)
    • Java (8)
    • 데이터베이스 (3)
    • 백준 (121)
    • HTML (1)
    • Spring (7)
    • JPA (15)
    • 컴퓨터보안 (0)
    • 학교공부 (3)

Tag

컴퓨터 네트워크, 컴퓨터 네트워킹 하향식 접근, 자바io, 데이터베이스, 예외처리, 티스토리챌린지, Network, 백준, JPA, 개발자유미, 오블완, Security, 백준 2805, s3 bucket, thread, 네트워크 예외처리, shutdownhook, 백준 실버, 자바파일입출력, 백준 11279,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2024/11   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :
Github

Copyright © Kakao Corp. All rights reserved.

티스토리툴바