
백준 16928 뱀과 사다리 게임 - JAVA
·
알고리즘/백준
16928 문제 링크https://www.acmicpc.net/problem/16928 문제 설명 입출력 코드12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849import java.util.*;import java.io.*; public class Main { static int N, M; static Queue queue = new LinkedList(); static Integer[] visit; static HashMap map = new HashMap(); public static void main(String[] args) throws IOException { ..