#. Problemhttps://www.acmicpc.net/problem/1976* The copyright in this matter is in BOJ #. Resolution Process 1. Read and understand problem 2. Redefine the problem + abstract 3. Create solution plan (select Algorithm, Data structure) 4. Prove the plan (check performance time and usage memory) 5. Carry out the plan 6. Look back on the plan and find a way to improve it #. Solve 동혁이가 목적을 달성하기 위해서는여..
#. Problemhttps://www.acmicpc.net/problem/20040* The copyright in this matter is in BOJ #. Resolution Process 1. Read and understand problem 2. Redefine the problem + abstract 3. Create solution plan (select Algorithm, Data structure) 4. Prove the plan (check performance time and usage memory) 5. Carry out the plan 6. Look back on the plan and find a way to improve it #. Solve 간선을 하나씩 그어보면서그래프에 ..
#. Problemhttps://www.inflearn.com/course/%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98* The copyright in this matter is in Inflearn #. Resolution Process 1. Read and understand problem 2. Redefine the problem + abstract - 모든 도시를 서로 연결하면서 최소의 유지비용이 들도록 도로를 선택하고, 나머지 도로는 폐쇄 - 재정에 도움이 되는 도로는 비용을 음수로 표현 - 모든 도시를 연결하면서 드는 최소비용을 출력 3. Create solution plan (select Algorithm, Data structure) 4. Prove the plan (..
#. Problemhttps://www.inflearn.com/course/%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98* The copyright in this matter is in Inflearn #. Resolution Process 1. Read and understand problem 2. Redefine the problem + abstract 3. Create solution plan (select Algorithm, Data structure) 4. Prove the plan (check performance time and usage memory) 5. Carry out the plan 6. Look back on the plan and find a way to im..
Python은 벡터 연산이 불가능합니다. AttributeError: 'list' object has no attribute 'methodName' 이러한 오류가 출력되는 것은, 벡터 연산이 불가능한 메서드(method)에 리스트를 적용했기 때문이죠.이를 해결하기 위해서는 "사용자 정의 함수 + 적용 함수" 의 조합이 필요합니다. # test 변수 준비>>> im = 'im tired' #. startswith() : 문자열의 시작 문자 패턴 확인 (T or F return)>>> im 'im tired'>>> im.startswith('im')True #. endswith() : 문자열의 종료 문자 패턴 확인 (T or F return)>>> im 'im tired'>>> im.endswith('ed'..