tenman2002   10달 전

10 13
BBBBBBBBWBWBW
BBBBBBBBBWBWB
BBBBBBBBWBWBW
BBBBBBBBBWBWB
BBBBBBBBWBWBW
BBBBBBBBBWBWB
BBBBBBBBWBWBW
BBBBBBBBBWBWB
WWWWWWWWWWBWB
WWWWWWWWWWBWB


이값을 입력하면

32 , 51 ,47 의 값이 출력이됩니다.

그런데
bw.write(Integer.toString(check(bigchess, 0, 5 ))+"\n");bw.write("\n\n\n\n\nbig\n");//bw.write(Integer.toString(check(bigchess, 1,5 ))+"\n");

여기부분을 주석처리하고

chess[0][5]부분인

8 8

BBBWBWBW
BBBBWBWB
BBBWBWBW
BBBBWBWB
BBBWBWBW
BBBBWBWB
BBBWBWBW
BBBBWBWB

를 입력하면 ,,, 12가 나옵니다 ...
도데체 왜일까요??

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