본문 바로가기

(수근수근)

검색하기
(수근수근)
프로필사진 InformationFarm

  • 분류 전체보기 (82)
    • Network (4)
    • Algorithm (9)
    • JAVA (3)
    • C++ (12)
    • web (26)
      • CSS (9)
      • React (6)
    • 블록체인 (6)
    • type & Javascript (19)
    • 끄적끄적 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   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
Tags
  • 백준
  • 뼈
  • main함수
  • 7785#회사에있는사람#알고리즘문제
  • 2667
  • DFS
  • ethernet
  • 백준#9375#패션왕신해빈
  • 김민태의 프론트엔드 아카데미
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록2667 (1)

(수근수근)

[백준] 2667 단지번호붙이기

문제 출처 https://www.acmicpc.net/problem/2667 DFS를 이용해서 풀었다 public class back2667 { static int[] rowD = {-1,1,0,0};//상하좌우 static int[] colD = {0,0,-1,1};//상하좌우 static int num; static boolean[][] arrCheck; static List list = new ArrayList(); static int[][] arr; static int count; public static void main(String[] args) { Scanner sc = new Scanner(System.in); num = sc.nextInt(); sc.nextLine(); arr = new..

Algorithm 2020. 4. 20. 17:15
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바