Skip to content

Commit dfd8f69

Browse files
authored
Update Solution.java
1 parent 69482a8 commit dfd8f69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

JavaStudy/src/com/codeTest2/solution1/Solution.java

+6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
//파이프 미로 퀴즈
44
//물을 연결하는 파이프가 존재
55
//파이프는 번호마다 모양이 다름
6+
//파이프 안에 있는 물은 직진으로만 가고, 모두가 뚫려있어도 직진으로만 감.
67
public class Solution {
78
public static void main(String[] args) {
89
Scanner sc = new Scanner(System.in);
10+
11+
int xDir = {0, 1, 0, -1}; //좌하우상
12+
int ydir = {1, 0, -1, 0}; //좌하우상
13+
14+
915
}
1016
}

0 commit comments

Comments
 (0)