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 |
Tags
- 완전탐색
- D4
- BFS
- 쉬운 알고리즘 문제
- the midnight library
- 삼성
- 코테 대비
- englishbook
- 백준
- 코테 준비
- swexpertacademy
- 원서읽자
- sw expert academy
- nightroutine
- English
- 프로그래머스
- STUDYENGLISH
- dfs
- 원서읽기
- 코테
- 알고리즘 문제
- PyQt
- 코딩테스트
- SQL
- 알고리즘
- sw expert
- 원서
- 직무면접
- readingbook
- MySQL
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