4831. [파이썬 S/W 문제해결 기본] LIST1 - 전기버스 _ python
문제의 저작권은 SW Expert Academy에 있습니다. 처음 python을 배우신 분들이 이해하기 쉽도록 풀이를 적었습니다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 TC = int(input()) for tc in range(1, TC+1): K, N, M = map(int, input().split()) data = list(map(int, input().split())) + [N+K, N+K] #N 종점 K 이동가능 M 정류장 개수 here = 0 #내위치 i = 0 #정류장위치 cnt = 0 #기름 넣을때 마다 +1 while here + K = data[i+2]: here = ..
알고리즘/sw
2020. 3. 25. 08:47
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- django
- error:0308010C:digital envelope routines::unsupported
- nextjs autoFocus
- logout
- nodejs
- Deque
- 클라우데라
- 자연어처리
- useHistory 안됨
- pandas
- NextJS
- Queue
- DFS
- UserCreationForm
- mongoDB
- typescript
- Python
- TensorFlow
- login
- useState
- next.config.js
- 자료구조
- Express
- react
- read_csv
- Vue
- JavaScript
- BFS
- vuejs
- react autoFocus
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함