본문 바로가기

전체 글67

good taste https://www.youtube.com/watch?v=o8NPllzkFhE&t=861s https://www.youtube.com/watch?v=HtSuA80QTyo&list=PLUl4u3cNGP61Oq3tWYp6V_F-5jb5L2iHb https://www.youtube.com/watch?v=IhJgguNiYYk&list=PLi9RQVmJD2fZxMEHWe4u1Yq86eHEZzS2m https://www.youtube.com/watch?v=U6-X_QOwPcs&list=PLU_sdQYzUj2keVENTP0a5rdykRSgg9Wp- 2022. 7. 22.
120. Triangle https://leetcode.com/problems/triangle/ Triangle - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution { public: int minimumTotal(vector& tri) { int n = tri.size(); vector mem(tri.back()); for (int i = n - 2; 0 2022. 7. 22.
Softeer - 마이크로서버 https://softeer.ai/practice/info.do?eventIdx=1&psProblemId=628 Softeer 연습문제를 담을 Set을 선택해주세요. 취소 확인 softeer.ai #include #include #include #include #include using namespace std; const int MAX = 900; const int MIN = 300; int solve() { int N; cin >> N; int total = 0; int answer = 0; vector in(MAX + 1); for (int i = 0; i > t; total += t; if (t > MAX - MIN) { answer++; continue.. 2022. 3. 27.
Softeer - 플레이페어 암호 https://softeer.ai/practice/result.do?eventIdx=1&psProblemId=804&submissionSn=SW_PRBL_SBMS_43166#hold https://softeer.ai/practice/result.do?eventIdx=1&psProblemId=804&submissionSn=SW_PRBL_SBMS_43166#hold softeer.ai #include #include #include using namespace std; char key_tbl[5][5]; string new_msg(""); map key_map; void makeKeyTable(string key) { bool visit[26] = { 0, }; visit['J' - 'A'] = true; .. 2022. 3. 26.