[프로그래머스] [PCCP 기출문제] 1번 / 동영상 재생기 - Python
https://school.programmers.co.kr/learn/courses/30/lessons/340213 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr 풀이초 단위로 시간 변환 후 prev, next 처리 def to_sec(time): tmp = time.split(":") return int(tmp[0]) * 60 + int(tmp[1])def solution(video_len, pos, op_start, op_end, commands): answer = '' video_len = to_sec(video_le..
Algorithm/Programmers
2024. 10. 13. 22:30