qwedsaszxc   2년 전

Arrays.fill(dist, Integer.MAX_VALUE);

int min_dist = Integer.MAX_VALUE;

초기화 과정에서

위의 코드에서

아래의 코드로 바꾸니 맞네요

Arrays.fill(dist, 100_000_000);

int min_dist = 100_000_000;

댓글을 작성하려면 로그인해야 합니다.