...#include #define BW 4 #define BH 4 struct { bool ready; bool pass; int num; int x,y; }Board[BW][BH]; int setnum[17]={1,}; int main() { int i, j,temp; for (i=0;i8?temp-8:temp); //숫자가 1~8이 두번반복 setnum[temp]=true; break; } if (temp==0) { temp=1; for (;temp8?temp-8:temp); setnum[temp]=true; break; } } } } for (i=0;i