일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- game jam
- Til
- stretch force
- 학습용
- numerical method
- ppt
- 참조자
- TIP
- class
- Implicit method
- 백준
- Algorithm
- 2020.03.16
- 알고리즘연습
- oprerator
- 알고리즘
- C
- 2020.02.23
- Overloading
- algorithm #알고리즘 #백준
- 독서
- Conjugate Gradient
- graphics
- UNORDERED_MAP
- 프로그래머스
- 논문
- ComputeShader
- sparse matrix
- rendering pipeline
- C++
Archives
- Today
- Total
목록Algorithm/Algorithm 문제 연습 (17)
OSgood의 개발일기
[프로그래머스] LEVEL2 탑문제(C++)
프로그래머스라는 사이트의 문제의 해설을 올려보고자 한다. 문제는 아래 URL에 접속해서 읽어보면 될 듯 싶다. https://programmers.co.kr/learn/courses/30/lessons/42588 12345678910111213141516171819202122232425#include #include using namespace std; vector solution(vector heights) { vector answer; answer.resize(heights.size(),0); int nowheight; for (int i =heights.size()-1;i>=0;i--) { int j= i-1; nowheight = heights[i]; while(heights[j]
Algorithm/Algorithm 문제 연습
2019. 1. 11. 15:01