250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 직무면접
- sw expert
- 알고리즘
- D4
- BFS
- 코테 준비
- 코딩테스트
- 원서읽기
- 원서읽자
- 백준
- PyQt
- 코테 대비
- STUDYENGLISH
- readingbook
- swexpertacademy
- 코테
- 원서
- sw expert academy
- SQL
- dfs
- 완전탐색
- MySQL
- 알고리즘 문제
- English
- 쉬운 알고리즘 문제
- 삼성
- nightroutine
- englishbook
- the midnight library
- 프로그래머스
Archives
- Today
- Total
목록다리를 지나는 트럭 (1)
시나브로
[코딩테스트 연습 _ 스택/큐] 다리를 지나는 트럭
#include #include #include using namespace std; int solution(int bridge_length, int weight, vector truck_weights) { int answer = 0; int time=0; int pass_point=0; int in_point=0; int box=truck_weights.size(); vectorlist; int rest_time=weight; while(1){ if(truck_weights.size()
알고리즘/프로그래머스
2020. 3. 13. 19:08