본인의 GPU에 맞게 cuda 및 cudnn은 설치했다고 가정하고 진행 Git을 이용하여 opencv와 opencv_contrib을 다운로드 받고, https://github.com/opencv OpenCV OpenCV has 16 repositories available. Follow their code on GitHub. github.com eigen은 아래 사이트에서 압축파일을 다운로드 받고 압축 해제 http://eigen.tuxfamily.org/index.php?title=Main_Page Eigen Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorit..
def solution(bridge_length, weight, truck_weights): bridge_list = [] sum = 0 count = 0 while True: if count > 0 and sum == 0: break if len(bridge_list) > bridge_length - 1: sum -= bridge_list[0] bridge_list.pop(0) if len(truck_weights) != 0: if sum + truck_weights[0]