조합 (1) 썸네일형 리스트형 [CodeTree] 병원 거리 최소화하기 (C++) [삼성 SW 역량테스트 기출] https://www.codetree.ai/training-field/frequent-problems/problems/min-of-hospital-distance 코드트리 | 코딩테스트 준비를 위한 알고리즘 정석 국가대표가 만든 코딩 공부의 가이드북 코딩 왕초보부터 꿈의 직장 코테 합격까지, 국가대표가 엄선한 커리큘럼으로 준비해보세요. www.codetree.ai #include #include #include using namespace std; int n, m, answer = 987654321; int city[50][50]; bool isUsed[13]; vector patient; vector hospital; vector picked; void dfs(int depth, int start){ .. 이전 1 다음