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

  • 홈
  • 태그
  • 방명록

백준 11279 2

백준 11286 - Java

import java.util.Comparator;import java.util.PriorityQueue;import java.util.Scanner;public class BJ11286 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); //비교연산자 구현 Comparator comparator = new Comparator() { @Override public int compare(Integer a, Integer b) { if (Math.abs(a) ..

백준 2024.10.17

백준 11279 - Java

import java.util.Collections;import java.util.PriorityQueue;import java.util.Scanner;public class BJ11279 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); PriorityQueue priorityQueue = new PriorityQueue(Collections.reverseOrder()); for (int i = 0; i  우선순위 queue 를 이용해서 한다면 쉽게 풀 수 있을 것이다.

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

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

github : https://github.com/hyun4965

  • 분류 전체보기 (211)
    • 컴퓨터 네트워크 (23)
    • 운영체제 (26)
    • 알고리즘 (4)
    • 자료구조 (0)
    • Java 정리 (7)
    • 데이터베이스 (3)
    • 클라우드 (3)
    • 백준 (121)
    • 소프트웨어 공학 (0)
    • HTML (1)
    • Spring (7)
    • JPA (16)
    • 컴퓨터보안 (0)
    • 학교공부 (1)

Tag

백준 실버, 데이터베이스, 컴퓨터 네트워크, 백준 11279, 백준 2805, 스레드 풀과 executor 프레임워크, s3 bucket, JPA, thread, executor 프레임워크, Network, 컴퓨터 네트워킹 하향식 접근, shutdownhook, 예외처리, 네트워크 예외처리, 백준, 오블완, 티스토리챌린지, Security, 개발자유미,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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 31

방문자수Total

  • Today :
  • Yesterday :
Github

Copyright © Kakao Corp. All rights reserved.

티스토리툴바