알고리즘/기타 (1) 썸네일형 리스트형 [문제] 정올 1681번 해밀턴 순환회로 www.jungol.co.kr/bbs/board.php?bo_table=pbank&wr_id=954&sca=99&sfl=wr_hit&stx=1681 JUNGOL www.jungol.co.kr 내 풀이 백트래킹 public class Main { static int[][] matrix; static int N; static int ans; static boolean[] visited; public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); N = Integer.parseInt(in.r.. 이전 1 다음