[알고리즘] 알고스팟 BOGGLE문제
알고리즘 문제 해결 전략 - BOGGLE 문제 재귀 함수 이용 #include #include #include using namespace std; const int dx[8] = {-1,-1,-1,0,0,1,1,1}; const int dy[8] = {-1,0,1,-1,1,-1,0,1}; char board[5][5]; bool hasWord(int y, int x, const string& word); bool isRange(int y, int x); int main() { int testcase; //char board[5][5]; string board_sentence; int howmany_word; vector words; string temp; cin>> testcase; for (int i..