<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>개발을 위한 하루</title>
    <link>https://codingham.tistory.com/</link>
    <description>직장인으로 살고 있습니다.
생활사를 담고 있습니다.
밥도 잘 먹습니다.</description>
    <language>ko</language>
    <pubDate>Thu, 9 Jul 2026 07:37:10 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>cosmohoo</managingEditor>
    <image>
      <title>개발을 위한 하루</title>
      <url>https://tistory1.daumcdn.net/tistory/3233375/attach/585f6c7c13604e85bc78d545d3cb7b89</url>
      <link>https://codingham.tistory.com</link>
    </image>
    <item>
      <title>아반떼HD 전조등 교체(교환) 방법, 후기 /(AVANTE)</title>
      <link>https://codingham.tistory.com/345</link>
      <description>&amp;nbsp;
너와 너의


아티스트
이상순


앨범
Leesangsoon


발매일
1970.01.01




제 차는 2008년식 구형 아반떼입니다. 연식이 연식인지라 하나둘씩 고장 나는 부분이 생기고 있습니다. 작년에는 에어컨으로 60만 원 이상을 지출하다 보니 작은 소모품 같은 경우는 직접 고치게 됩니다. 잡설이 길었네요. 바로 시작하겠습니다.&amp;nbsp;
&amp;nbsp;
준비물 : 아반떼HD 순정 전조등 램프&amp;nbsp;
- spec : 12vV 55W..</description>
      <category>유용한 정보</category>
      <category>램프교체</category>
      <category>아반떼</category>
      <category>자동차</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/345</guid>
      <comments>https://codingham.tistory.com/345#entry345comment</comments>
      <pubDate>Wed, 10 Apr 2024 18:18:42 +0900</pubDate>
    </item>
    <item>
      <title>DATETIME에서 DATE로 형 변환</title>
      <link>https://codingham.tistory.com/344</link>
      <description>&amp;nbsp;
=&amp;gt; DATETIME형을 DATE형태로 바꿀수 있는지에 대한 문제였습니다.&amp;nbsp;
=&amp;gt;TO_CHAR 함수를 이용해 문제가 원하는 형식으로 바꾸었습니다.&amp;nbsp;
=&amp;gt;ORDER BY를 이용해 쿼리문의 순서를 정렬하였습니다.&amp;nbsp;
&amp;nbsp;
-- 코드를 입력하세요
SELECT ANIMAL_ID, NAME, to_char(DATETIME, 'YYYY-MM-DD') as 날짜 
FROM ANIMAL_INS 
order ..</description>
      <category>프로그래머스 SQL</category>
      <category>date</category>
      <category>datetime</category>
      <category>SQL</category>
      <category>TO_CHAR</category>
      <category>형변환</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/344</guid>
      <comments>https://codingham.tistory.com/344#entry344comment</comments>
      <pubDate>Wed, 4 Jan 2023 22:51:56 +0900</pubDate>
    </item>
    <item>
      <title>오랜기간 보호한 동물(2)</title>
      <link>https://codingham.tistory.com/343</link>
      <description>예시
예를 들어,&amp;nbsp;ANIMAL_INS&amp;nbsp;테이블과&amp;nbsp;ANIMAL_OUTS&amp;nbsp;테이블이 다음과 같다면
ANIMAL_INS
ANIMAL_IDANIMAL_TYPEDATETIMEINTAKE_CONDITIONNAMESEX_UPON_INTAKE



A354597
Cat
2014-05-02 12:16:00
Normal
Ariel
Spayed Female


A362707
Dog
2016-01-27 12:27:00
Sick
Girly Gi..</description>
      <category>프로그래머스 SQL</category>
      <category>datetime</category>
      <category>oracle</category>
      <category>SQL</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/343</guid>
      <comments>https://codingham.tistory.com/343#entry343comment</comments>
      <pubDate>Fri, 22 Jul 2022 21:37:00 +0900</pubDate>
    </item>
    <item>
      <title>백준 1012 유기농 배추 C++ (BFS)</title>
      <link>https://codingham.tistory.com/342</link>
      <description>&amp;nbsp;


입력


입력의 첫 줄에는 테스트 케이스의 개수 T가 주어진다. 그 다음 줄부터 각각의 테스트 케이스에 대해 첫째 줄에는 배추를 심은 배추밭의 가로길이 M(1 &amp;le; M &amp;le; 50)과 세로길이 N(1 &amp;le; N &amp;le; 50), 그리고 배추가 심어져 있는 위치의 개수 K(1 &amp;le; K &amp;le; 2500)이 주어진다. 그 다음 K줄에는 배추의 위치 X(0 &amp;le; X &amp;le; M-1), Y(0 &amp;le; Y &amp;le; N-1)가 주어..</description>
      <category>백준 algorithm</category>
      <category>BFS</category>
      <category>C++</category>
      <category>백준</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/342</guid>
      <comments>https://codingham.tistory.com/342#entry342comment</comments>
      <pubDate>Thu, 21 Jul 2022 23:31:32 +0900</pubDate>
    </item>
    <item>
      <title>백준 7785 회사에 있는 사람</title>
      <link>https://codingham.tistory.com/341</link>
      <description>
출력


현재 회사에 있는 사람의 이름을 사전 순의 역순으로 한 줄에 한 명씩 출력한다.






예제 입력 1&amp;nbsp;복사

4
Baha enter
Askar enter
Baha leave
Artem enter




예제 출력 1&amp;nbsp;복사

Askar
Artem



&amp;nbsp;
&amp;nbsp;
=&amp;gt; 자료구조 &amp;lt;SET&amp;gt;을 사용할 수 있는지 묻는 문제였습니다.&amp;nbsp;
(C++은 풀때마다 문법때문에 짜증이 나는 경우가 많습니다..</description>
      <category>백준 algorithm</category>
      <category>C++</category>
      <category>cin</category>
      <category>getline</category>
      <category>Ignore</category>
      <category>Set</category>
      <category>백준</category>
      <category>자료구조</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/341</guid>
      <comments>https://codingham.tistory.com/341#entry341comment</comments>
      <pubDate>Tue, 19 Jul 2022 16:14:55 +0900</pubDate>
    </item>
    <item>
      <title>백준 1302 베스트셀러 C++</title>
      <link>https://codingham.tistory.com/340</link>
      <description>&amp;nbsp;


출력


첫째 줄에 가장 많이 팔린 책의 제목을 출력한다. 만약 가장 많이 팔린 책이 여러 개일 경우에는 사전 순으로 가장 앞서는 제목을 출력한다.






예제 입력 1&amp;nbsp;복사

5
top
top
top
top
kimtop




예제 출력 1&amp;nbsp;복사

top








예제 입력 2&amp;nbsp;복사

9
table
chair
table
table
lamp
door
lamp
table
chair




예제 출력 2&amp;..</description>
      <category>백준 algorithm</category>
      <category>map</category>
      <category>백준</category>
      <category>자료구조</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/340</guid>
      <comments>https://codingham.tistory.com/340#entry340comment</comments>
      <pubDate>Mon, 18 Jul 2022 23:35:34 +0900</pubDate>
    </item>
    <item>
      <title>백준 10926 ??!</title>
      <link>https://codingham.tistory.com/339</link>
      <description>&amp;nbsp;





예제 입력 1&amp;nbsp;복사

joonas




예제 출력 1&amp;nbsp;복사

joonas??!








예제 입력 2&amp;nbsp;복사

baekjoon




예제 출력 2&amp;nbsp;복사

baekjoon??!





&amp;nbsp;
#include &amp;lt;string&amp;gt;
#include &amp;lt;algorithm&amp;gt;

#include &amp;lt;iostream&amp;gt;

using namespace std;

int main..</description>
      <category>백준 algorithm</category>
      <category>C++</category>
      <category>구현</category>
      <category>백준</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/339</guid>
      <comments>https://codingham.tistory.com/339#entry339comment</comments>
      <pubDate>Mon, 18 Jul 2022 21:47:17 +0900</pubDate>
    </item>
    <item>
      <title>백준 11866 요세푸스 문제 0 C++</title>
      <link>https://codingham.tistory.com/338</link>
      <description>&amp;nbsp;
&amp;nbsp;





예제 입력 1&amp;nbsp;복사

7 3




예제 출력 1&amp;nbsp;복사

&amp;lt;3, 6, 2, 7, 5, 1, 4&amp;gt;





&amp;nbsp;
&amp;nbsp;
=&amp;gt; 자료구조 queue 를 안다면 구현할 수 있는 문제입니다.&amp;nbsp;
=&amp;gt; 삭제하고픈 원소를 찾을때까지 이전에 있는 원소들을 큐의 뒤쪽에 삽입합니다.&amp;nbsp;
=&amp;gt; 삭제하고픈 원소를 찾을 경우, 해당원소를 PRINT하고 POP을 해줍니다.&amp;..</description>
      <category>백준 algorithm</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/338</guid>
      <comments>https://codingham.tistory.com/338#entry338comment</comments>
      <pubDate>Sun, 17 Jul 2022 23:43:01 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 프렌즈4블록 C++</title>
      <link>https://codingham.tistory.com/337</link>
      <description>&amp;nbsp;
&amp;nbsp;
위 초기 배치를 문자로 표시하면 아래와 같다.

TTTANT
RRFACC
RRRFCC
TRRRAA
TTMMMF
TMMTTJ


각 문자는 라이언(R), 무지(M), 어피치(A), 프로도(F), 네오(N), 튜브(T), 제이지(J), 콘(C)을 의미한다
입력으로 블록의 첫 배치가 주어졌을 때, 지워지는 블록은 모두 몇 개인지 판단하는 프로그램을 제작하라.
입력 형식

입력으로 판의 높이&amp;nbsp;m, 폭&amp;nbsp;n과 판의 배치 ..</description>
      <category>프로그래머스(Programmers)</category>
      <category>구현</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/337</guid>
      <comments>https://codingham.tistory.com/337#entry337comment</comments>
      <pubDate>Thu, 14 Jul 2022 23:43:37 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 교점에 별 만들기 C++</title>
      <link>https://codingham.tistory.com/336</link>
      <description>이때, 모든 교점의 좌표는&amp;nbsp;(4, 1),&amp;nbsp;(4, -4),&amp;nbsp;(-4, -4),&amp;nbsp;(-4, 1),&amp;nbsp;(0, 4),&amp;nbsp;(1.5, 1.0),&amp;nbsp;(2.1, -0.19),&amp;nbsp;(0, -1.5),&amp;nbsp;(-2.1, -0.19),&amp;nbsp;(-1.5, 1.0)입니다. 이 중 정수로만 표현되는 좌표는&amp;nbsp;(4, 1),&amp;nbsp;(4, -4),&amp;nbsp;(-4, -4),&amp;nbsp;(-4, 1),&amp;nbsp..</description>
      <category>프로그래머스(Programmers)</category>
      <category>Assign</category>
      <category>Pair</category>
      <category>vector</category>
      <category>교점</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/336</guid>
      <comments>https://codingham.tistory.com/336#entry336comment</comments>
      <pubDate>Wed, 13 Jul 2022 00:18:09 +0900</pubDate>
    </item>
    <item>
      <title>인덕원 요리주점 [소우미] 내돈내산</title>
      <link>https://codingham.tistory.com/335</link>
      <description>연인 혹은 친구들과 가기 좋은 술집을 가보았습니다.&amp;nbsp;
인덕원에 있는 &amp;lt;소우미&amp;gt; 입니다.
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
https://map.naver.com/v5/entry/place/35958919?c=14134280.808151785,4496122.5200841725,13,0,0,0,dh&amp;amp;placePath=%2Fhome&amp;amp;entry=plt&amp;nbsp;

&amp;nbsp;

네이버 지도
안양시 동안구 관양동
map.na..</description>
      <category>식사 </category>
      <category>내돈내산</category>
      <category>맛집</category>
      <category>술집</category>
      <category>인덕원</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/335</guid>
      <comments>https://codingham.tistory.com/335#entry335comment</comments>
      <pubDate>Mon, 11 Jul 2022 21:39:20 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 2 x n 타일링</title>
      <link>https://codingham.tistory.com/334</link>
      <description>&amp;nbsp;
=&amp;gt; DP 문제입니다.&amp;nbsp;
=&amp;gt; 점화식을 세울 줄 아는지에 대해 묻는 문제였습니다.&amp;nbsp;
=&amp;gt; 위에서부터 아래로 CASE를 나누며 점화식을 만들어낼 수 있는지 확인하는 문제입니다.&amp;nbsp;
=&amp;gt; 혹은, F(n)의 값들을 써보며 규칙성을 찾아 문제를 풀이할 수도 있습니다.&amp;nbsp;
=&amp;gt; 해당 문제는 피보나치수열과 같은 문제였습니다.&amp;nbsp;
=&amp;gt; 풀이는 아래에 첨부하였습니다.&amp;nbsp;
&amp;nb..</description>
      <category>프로그래머스(Programmers)</category>
      <category>DP</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/334</guid>
      <comments>https://codingham.tistory.com/334#entry334comment</comments>
      <pubDate>Thu, 7 Jul 2022 23:35:33 +0900</pubDate>
    </item>
    <item>
      <title>두 정수 사이의 합</title>
      <link>https://codingham.tistory.com/333</link>
      <description>&amp;nbsp;
=&amp;gt; a 와 b 중 큰수를 찾습니다.&amp;nbsp;
=&amp;gt; 작은 수에서부터 큰수까지 for문을 돌며 answer에 더합니다.&amp;nbsp;
&amp;nbsp;
*시그마 공식을 이용해서 풀이할 수도 있습니다.&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;

&amp;nbsp;
&amp;nbsp;
#include &amp;lt;string&amp;gt;
#include &amp;lt;vector&amp;gt;

using namespace std;

long long solution(int..</description>
      <category>프로그래머스(Programmers)</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/333</guid>
      <comments>https://codingham.tistory.com/333#entry333comment</comments>
      <pubDate>Tue, 5 Jul 2022 23:43:58 +0900</pubDate>
    </item>
    <item>
      <title>연남동 한식 [솥솥] 내돈내산 후기</title>
      <link>https://codingham.tistory.com/332</link>
      <description>연남동에서 한식을 먹고 싶어 한식집 [솥솥]에 갔습니다.&amp;nbsp;
&amp;nbsp;

운영시간 : 11 : 30 ~ 21 : 00 (BREAK TIME 없음)
주소 : 서울 마포구 동교로38길 35지 1층 2호, 3호

&amp;nbsp;

&amp;nbsp;
메뉴는 바깥에서 웨이팅할때부터 주문할 수 있습니다.
저희는 스테이크 솥밥, 도미관자 솥밥 그리고 새우튀김을 시켰습니다.
&amp;nbsp;

&amp;nbsp;

&amp;nbsp;

&amp;nbsp;
&amp;nbsp;
가게에 들어간 이후에 음식..</description>
      <category>식사 </category>
      <category>솥밥</category>
      <category>솥솥</category>
      <category>연남동</category>
      <category>한식</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/332</guid>
      <comments>https://codingham.tistory.com/332#entry332comment</comments>
      <pubDate>Sun, 3 Jul 2022 19:00:03 +0900</pubDate>
    </item>
    <item>
      <title>NULL 처리하기</title>
      <link>https://codingham.tistory.com/331</link>
      <description>ORACLE 환경에서 문제풀이하였습니다.
&amp;nbsp;

&amp;nbsp;
예를 들어&amp;nbsp;ANIMAL_INS&amp;nbsp;테이블이 다음과 같다면
ANIMAL_IDANIMAL_TYPEDATETIMEINTAKE_CONDITIONNAMESEX_UPON_INTAKE



A350276
Cat
2017-08-13 13:50:00
Normal
Jewel
Spayed Female


A350375
Cat
2017-03-06 15:01:00
Normal
Meo
Neuter..</description>
      <category>프로그래머스 SQL</category>
      <category>order by</category>
      <category>SQL</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/331</guid>
      <comments>https://codingham.tistory.com/331#entry331comment</comments>
      <pubDate>Sat, 2 Jul 2022 15:55:07 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 배달 C++</title>
      <link>https://codingham.tistory.com/330</link>
      <description>&amp;nbsp;
제한사항

마을의 개수 N은 1 이상 50 이하의 자연수입니다.
road의 길이(도로 정보의 개수)는 1 이상 2,000 이하입니다.
road의 각 원소는 마을을 연결하고 있는 각 도로의 정보를 나타냅니다.
road는 길이가 3인 배열이며, 순서대로 (a, b, c)를 나타냅니다.

a, b(1 &amp;le; a, b &amp;le; N, a != b)는 도로가 연결하는 두 마을의 번호이며, c(1 &amp;le; c &amp;le; 10,000, c는 자연수)는 도..</description>
      <category>프로그래머스(Programmers)</category>
      <category>C++</category>
      <category>우선순위큐</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/330</guid>
      <comments>https://codingham.tistory.com/330#entry330comment</comments>
      <pubDate>Fri, 1 Jul 2022 14:17:12 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 피로도 C++</title>
      <link>https://codingham.tistory.com/329</link>
      <description>&amp;nbsp;
입출력 예
k &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dungeons &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ..</description>
      <category>프로그래머스(Programmers)</category>
      <category>순열</category>
      <category>완전탐색</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/329</guid>
      <comments>https://codingham.tistory.com/329#entry329comment</comments>
      <pubDate>Tue, 24 May 2022 23:25:37 +0900</pubDate>
    </item>
    <item>
      <title>괄호 회전하기</title>
      <link>https://codingham.tistory.com/328</link>
      <description>제한사항

s의 길이는 1 이상 1,000 이하입니다.


입출력 예
sresult



&quot;[](){}&quot;
3


&quot;}]()[{&quot;
2


&quot;[)(]&quot;
0


&quot;}}}&quot;
0




입출력 예 설명
입출력 예 #1

다음 표는&amp;nbsp;&quot;[](){}&quot;&amp;nbsp;를 회전시킨 모습을 나타낸 것입니다.

xs를 왼쪽으로 x칸만큼 회전올바른 괄호 문자열?



0
&quot;[](){}&quot;
O


1
&quot;](){}[&quot;
X


2
&quot;(){}[]&quot;
O


3
&quot;){}[](&quot;
X

..</description>
      <category>프로그래머스(Programmers)</category>
      <category>C++</category>
      <category>Stack</category>
      <category>괄호</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/328</guid>
      <comments>https://codingham.tistory.com/328#entry328comment</comments>
      <pubDate>Wed, 18 May 2022 23:50:14 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 가장 먼 노드 C++</title>
      <link>https://codingham.tistory.com/327</link>
      <description>&amp;nbsp;

&amp;nbsp;
&amp;nbsp;
=&amp;gt; BFS를 사용해 각 노드로 가는 거리들을 구합니다.&amp;nbsp;
=&amp;gt; 내가 지금 갈 노드 = 이전 노드 + 1;&amp;nbsp;
=&amp;gt; 가장 멀리 있는 노드값을 answer에 반환합니다.&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
#include &amp;lt;string&amp;gt;
#include &amp;lt;vector&amp;gt;
#include &amp;lt;queue&amp;gt;
#include &amp;lt;algorithm&amp;gt;

us..</description>
      <category>프로그래머스(Programmers)</category>
      <category>BFS</category>
      <category>C++</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/327</guid>
      <comments>https://codingham.tistory.com/327#entry327comment</comments>
      <pubDate>Tue, 17 May 2022 22:42:30 +0900</pubDate>
    </item>
    <item>
      <title>백준 2747 피보나치수 C++</title>
      <link>https://codingham.tistory.com/326</link>
      <description>

입력


첫째 줄에 n이 주어진다. n은 45보다 작거나 같은 자연수이다.




출력


첫째 줄에 n번째 피보나치 수를 출력한다.






예제 입력 1&amp;nbsp;복사

10




예제 출력 1&amp;nbsp;복사

55





&amp;nbsp;
&amp;nbsp;
=&amp;gt; 단순구현문제입니다.&amp;nbsp;
=&amp;gt; 피보나치수를 저장할 수 있는 배열을 만들고 FOR문을 통해 피보나치수를 구합니다.&amp;nbsp;
=&amp;gt; n의 한계치가 45이므로, 배열의 크기는..</description>
      <category>백준 algorithm</category>
      <category>C++</category>
      <category>구현</category>
      <category>백준</category>
      <category>피보나치</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/326</guid>
      <comments>https://codingham.tistory.com/326#entry326comment</comments>
      <pubDate>Tue, 26 Apr 2022 20:29:52 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 전력망을 둘로 나누기 C++</title>
      <link>https://codingham.tistory.com/325</link>
      <description>&amp;nbsp;
제한사항

n은 2 이상 100 이하인 자연수입니다.
wires는 길이가&amp;nbsp;n-1인 정수형 2차원 배열입니다.

wires의 각 원소는 [v1, v2] 2개의 자연수로 이루어져 있으며, 이는 전력망의 v1번 송전탑과 v2번 송전탑이 전선으로 연결되어 있다는 것을 의미합니다.
1 &amp;le; v1 &amp;lt; v2 &amp;le; n 입니다.
전력망 네트워크가 하나의 트리 형태가 아닌 경우는 입력으로 주어지지 않습니다.




입출력 예
nwires..</description>
      <category>프로그래머스(Programmers)</category>
      <category>DFS</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/325</guid>
      <comments>https://codingham.tistory.com/325#entry325comment</comments>
      <pubDate>Mon, 25 Apr 2022 20:58:03 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 게임 맵 최단거리 C++</title>
      <link>https://codingham.tistory.com/324</link>
      <description>&amp;nbsp;
&amp;nbsp;
제한사항

maps는 n x m 크기의 게임 맵의 상태가 들어있는 2차원 배열로, n과 m은 각각 1 이상 100 이하의 자연수입니다.

n과 m은 서로 같을 수도, 다를 수도 있지만, n과 m이 모두 1인 경우는 입력으로 주어지지 않습니다.


maps는 0과 1로만 이루어져 있으며, 0은 벽이 있는 자리, 1은 벽이 없는 자리를 나타냅니다.
처음에 캐릭터는 게임 맵의 좌측 상단인 (1, 1) 위치에 있으며, 상대방 진영은 게..</description>
      <category>프로그래머스(Programmers)</category>
      <category>BFS</category>
      <category>C++</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/324</guid>
      <comments>https://codingham.tistory.com/324#entry324comment</comments>
      <pubDate>Sun, 24 Apr 2022 23:47:52 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 가장 먼 노드 C++</title>
      <link>https://codingham.tistory.com/323</link>
      <description>&amp;nbsp;

&amp;nbsp;
=&amp;gt; BFS문제입니다.&amp;nbsp;
=&amp;gt; 각 노드들이 맺고 있는 관계들을 벡터로 표현하였습니다.&amp;nbsp;
=&amp;gt; 이를 vector로 표현하거나 배열로 하거나 편하신대로 하면 됩니다.&amp;nbsp;
=&amp;gt; 해당 문제에서는 노드의 개수와 간선의 개수가 20,000개 , 50,000개 이므로 벡터를 사용하여 공간의 낭비를 줄였습니다.&amp;nbsp;
=&amp;gt; 간선들을 표현한 이후에는 항상 사용하던 BFS를 사용하여 문제를..</description>
      <category>프로그래머스(Programmers)</category>
      <category>BFS</category>
      <category>C++</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/323</guid>
      <comments>https://codingham.tistory.com/323#entry323comment</comments>
      <pubDate>Fri, 22 Apr 2022 22:23:07 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 영어 끝말잇기 C++</title>
      <link>https://codingham.tistory.com/322</link>
      <description>&amp;nbsp;
제한 사항

끝말잇기에 참여하는 사람의 수 n은 2 이상 10 이하의 자연수입니다.
words는 끝말잇기에 사용한 단어들이 순서대로 들어있는 배열이며, 길이는 n 이상 100 이하입니다.
단어의 길이는 2 이상 50 이하입니다.
모든 단어는 알파벳 소문자로만 이루어져 있습니다.
끝말잇기에 사용되는 단어의 뜻(의미)은 신경 쓰지 않으셔도 됩니다.
정답은 [ 번호, 차례 ] 형태로 return 해주세요.
만약 주어진 단어들로 탈락자가 생기지 않..</description>
      <category>프로그래머스(Programmers)</category>
      <category>C++</category>
      <category>greedy</category>
      <category>Set</category>
      <category>그리디</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/322</guid>
      <comments>https://codingham.tistory.com/322#entry322comment</comments>
      <pubDate>Thu, 21 Apr 2022 22:03:03 +0900</pubDate>
    </item>
    <item>
      <title>[Eclipse] Initializing java tooling  ERROR 발생</title>
      <link>https://codingham.tistory.com/321</link>
      <description>&amp;nbsp;
&amp;nbsp;
해결방법
1. ECLIPSE 종료&amp;nbsp;
2.&amp;nbsp;/Users/(사용자명)/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects 로 이동한다&amp;nbsp;
3.&amp;nbsp;해당 폴더에 있는 모든 폴더들을 삭제합니다.&amp;nbsp;
4. ECLIPSE 재실행&amp;nbsp;
&amp;nbsp;
5. 이후에도 ERROR가 생길 경우, PROJECT CLEAN 과 CL..</description>
      <category>Develop Tip/Eclipse</category>
      <category>Eclipse</category>
      <category>error</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/321</guid>
      <comments>https://codingham.tistory.com/321#entry321comment</comments>
      <pubDate>Fri, 15 Apr 2022 23:32:08 +0900</pubDate>
    </item>
    <item>
      <title>[Eclipse] Periodic workspace save. has encountered a problem</title>
      <link>https://codingham.tistory.com/320</link>
      <description>해당 메세지가 생길 경우 save 를 하는 workspace 공간에 에러가 생긴 것입니다.&amp;nbsp;
&amp;nbsp;
해결방법
1. ECLIPSE 종료&amp;nbsp;
2.&amp;nbsp;/Users/(사용자명)/eclipse-workspace/.metadata/.plugins/org.eclipse.core.resources/.projects 로 이동한다&amp;nbsp;
3. RemoteSystemsTempFiles 와 Servers 폴더를 재생성한다.&amp;nbsp;
&amp;nbs..</description>
      <category>Develop Tip/Eclipse</category>
      <category>Eclipse</category>
      <category>error</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/320</guid>
      <comments>https://codingham.tistory.com/320#entry320comment</comments>
      <pubDate>Thu, 14 Apr 2022 23:27:04 +0900</pubDate>
    </item>
    <item>
      <title>백준 나이트의 이동 C++</title>
      <link>https://codingham.tistory.com/319</link>
      <description>&amp;nbsp;
&amp;nbsp;


입력


입력의 첫째 줄에는 테스트 케이스의 개수가 주어진다.
각 테스트 케이스는 세 줄로 이루어져 있다. 첫째 줄에는 체스판의 한 변의 길이 l(4 &amp;le;&amp;nbsp;l &amp;le; 300)이 주어진다. 체스판의 크기는 l &amp;times; l이다. 체스판의 각 칸은 두 수의 쌍 {0, ..., l-1} &amp;times; {0, ..., l-1}로 나타낼 수 있다. 둘째 줄과 셋째 줄에는 나이트가 현재 있는 칸, 나이트가 이동하려고 ..</description>
      <category>백준 algorithm</category>
      <category>BFS</category>
      <category>C++</category>
      <category>백준</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/319</guid>
      <comments>https://codingham.tistory.com/319#entry319comment</comments>
      <pubDate>Wed, 13 Apr 2022 23:12:58 +0900</pubDate>
    </item>
    <item>
      <title>백준 2525 오븐시계 C++</title>
      <link>https://codingham.tistory.com/318</link>
      <description>
입력


첫째 줄에는 현재 시각이 나온다. 현재 시각은 시 A (0 &amp;le; A &amp;le; 23) 와 분 B (0 &amp;le; B &amp;le; 59)가 정수로 빈칸을 사이에 두고 순서대로 주어진다. 두 번째 줄에는 요리하는 데 필요한 시간 C (0 &amp;le; C &amp;le; 1,000)가 분 단위로 주어진다.&amp;nbsp;




출력


첫째 줄에 종료되는 시각의 시와 분을 공백을 사이에 두고 출력한다. (단, 시는 0부터 23까지의 정수, 분은 0부터 59까지의 정..</description>
      <category>백준 algorithm</category>
      <category>백준</category>
      <category>조건문</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/318</guid>
      <comments>https://codingham.tistory.com/318#entry318comment</comments>
      <pubDate>Tue, 12 Apr 2022 22:06:00 +0900</pubDate>
    </item>
    <item>
      <title>2.2.6 퍼시스턴스 레이어 : 스프링 데이터 JPA</title>
      <link>https://codingham.tistory.com/316</link>
      <description>◎ DBC 드라이버 : 자바에서 데이터베이스에 연결할 수 있도록 도와주는 라이브러리&amp;nbsp;
* 테이블 생성, 테이블에 엔트리 추가, 수정, 삭제 등이 웹서비스의 일부로 동작할 수 있기 도와주는 중간매개체
◎&amp;nbsp;ORM : 데이터베이스 연결 / SQL쿼리 준비 / 쿼리 실행과 같은 일련의 작업을 뜻함
◎DAO(Data Access Object) : ORM 작업을 집중적으로 도와주는 클래스&amp;nbsp;
◎JPA : 자바에서 데이터베이스 접근, 저장,..</description>
      <category>Spring/웹 개발 101</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/316</guid>
      <comments>https://codingham.tistory.com/316#entry316comment</comments>
      <pubDate>Mon, 11 Apr 2022 01:09:38 +0900</pubDate>
    </item>
    <item>
      <title>2.2.5 서비스 레이어 : 비즈니스 로직</title>
      <link>https://codingham.tistory.com/315</link>
      <description>서비스 레이어 : 컨트롤러와 퍼시스턴스 사이에서 비즈니스 로직을 수행하는 역할
&amp;nbsp;
@service 어노테이션 : 스프링 컴포넌트이며 기능적으로 비즈니스 로직을 수행하는 서비스 레이어임을 알려주는 어노테이션&amp;nbsp;
* @Component와 기능적으로는 크게 차이가 없다.&amp;nbsp;
&amp;nbsp;
package com.example.demo.service;

import org.springframework.stereotype.Service;

@..</description>
      <category>Spring/웹 개발 101</category>
      <category>@Autowired</category>
      <category>@Component</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/315</guid>
      <comments>https://codingham.tistory.com/315#entry315comment</comments>
      <pubDate>Sun, 10 Apr 2022 00:20:03 +0900</pubDate>
    </item>
    <item>
      <title>백준 11286 - 절댓값 힙</title>
      <link>https://codingham.tistory.com/314</link>
      <description>&amp;nbsp;


입력


첫째 줄에 연산의 개수 N(1&amp;le;N&amp;le;100,000)이 주어진다. 다음 N개의 줄에는 연산에 대한 정보를 나타내는 정수 x가 주어진다. 만약 x가 0이 아니라면&amp;nbsp;배열에 x라는 값을 넣는(추가하는) 연산이고, x가 0이라면 배열에서 절댓값이 가장 작은 값을 출력하고 그 값을 배열에서 제거하는 경우이다. 입력되는 정수는 -231보다 크고,&amp;nbsp;231보다 작다.




출력


입력에서 0이 주어진 회수만큼 답을..</description>
      <category>백준 algorithm</category>
      <category>C++</category>
      <category>백준</category>
      <category>최대힙</category>
      <category>최소힙</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/314</guid>
      <comments>https://codingham.tistory.com/314#entry314comment</comments>
      <pubDate>Sat, 9 Apr 2022 23:06:03 +0900</pubDate>
    </item>
    <item>
      <title>2.2.4 매개변수를 넘겨받는 방법</title>
      <link>https://codingham.tistory.com/313</link>
      <description>@PathVariable 을 사용하면 됩니다.&amp;nbsp;
package com.example.demo.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
im..</description>
      <category>Spring/웹 개발 101</category>
      <category>매개변수</category>
      <category>스프링</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/313</guid>
      <comments>https://codingham.tistory.com/313#entry313comment</comments>
      <pubDate>Fri, 8 Apr 2022 01:17:50 +0900</pubDate>
    </item>
    <item>
      <title>MAC ECLIPSE 줄정리 | 맥 이클립스 줄정리 단축키</title>
      <link>https://codingham.tistory.com/317</link>
      <description>COMMAND + SHIFT + F
&amp;nbsp;

&amp;nbsp;
&amp;nbsp;
=&amp;gt; 위와 같이 단축키를 통해 줄정리를 할 수 있습니다.&amp;nbsp;
&amp;nbsp;</description>
      <category>etc/MAC</category>
      <category>Mac</category>
      <category>이클립스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/317</guid>
      <comments>https://codingham.tistory.com/317#entry317comment</comments>
      <pubDate>Thu, 7 Apr 2022 00:22:39 +0900</pubDate>
    </item>
    <item>
      <title>2.2.3 REST API  || 2.2.4 컨트롤러 레이어</title>
      <link>https://codingham.tistory.com/312</link>
      <description>REST는 'Representational State Transfer' 의 약자로 아키텍쳐 스타일을 뜻합니다.&amp;nbsp;
* 아키텍쳐 스타일 : 아키텍쳐 디자인 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *아키텍쳐 패턴 : 반복되는 문제 상황을 해결하는 도구
&amp;nbsp;
&amp;nbsp;
REST 제약조..</description>
      <category>Spring/웹 개발 101</category>
      <category>getmapping</category>
      <category>requestmapping</category>
      <category>Spring</category>
      <category>스프링</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/312</guid>
      <comments>https://codingham.tistory.com/312#entry312comment</comments>
      <pubDate>Thu, 7 Apr 2022 00:10:07 +0900</pubDate>
    </item>
    <item>
      <title>백준 1927 - 최소 힙</title>
      <link>https://codingham.tistory.com/311</link>
      <description>&amp;nbsp;


입력


첫째 줄에 연산의 개수 N(1 &amp;le; N &amp;le; 100,000)이 주어진다. 다음 N개의 줄에는 연산에 대한 정보를 나타내는 정수 x가 주어진다. 만약 x가 자연수라면 배열에 x라는 값을 넣는(추가하는) 연산이고, x가 0이라면 배열에서 가장 작은 값을 출력하고 그 값을 배열에서 제거하는 경우이다. x는 231보다 작은 자연수 또는 0이고, 음의 정수는 입력으로 주어지지 않는다.




출력


입력에서 0이 주어진 횟수만큼..</description>
      <category>백준 algorithm</category>
      <category>C++</category>
      <category>백준</category>
      <category>최소힙</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/311</guid>
      <comments>https://codingham.tistory.com/311#entry311comment</comments>
      <pubDate>Wed, 6 Apr 2022 23:16:26 +0900</pubDate>
    </item>
    <item>
      <title>Finder에서 터미널 켜는 방법</title>
      <link>https://codingham.tistory.com/310</link>
      <description>요약 : FINDER =&amp;gt; 서비스 =&amp;gt; 서비스 환경설정 =&amp;gt; 폴더에서 새로운 터미널 열기 =&amp;gt; 단축키 설정
&amp;nbsp;
&amp;nbsp;
&amp;nbsp;
1. Finder를 클릭합니다.&amp;nbsp;

&amp;nbsp;
2. 왼쪽위에서 'FINDER'를 클릭하고 서비스를 클릭한다.&amp;nbsp;

&amp;nbsp;
&amp;nbsp;
3. 폴더에서 터미널 켜기를 찾은 후 단축키 설정을 해줍니다.&amp;nbsp;
=&amp;gt; 저의 경우 SHIFT + COMMAND + N 으..</description>
      <category>etc/MAC</category>
      <category>Finder</category>
      <category>Mac</category>
      <category>TIP</category>
      <category>환경설정</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/310</guid>
      <comments>https://codingham.tistory.com/310#entry310comment</comments>
      <pubDate>Tue, 5 Apr 2022 16:41:54 +0900</pubDate>
    </item>
    <item>
      <title>2.2.2 모델, 엔티티, DTO</title>
      <link>https://codingham.tistory.com/309</link>
      <description>서비스를 구성하는 클래스에는 일을 하는 클래스, 데이터를 담는 클래스등이 있다. 이러한 클래스들을 기능에 따라 엔티티, 모델, DTO등으로 부른다.&amp;nbsp;
무엇을 위한 클래스인지를 파악하는 것이 중요하다.&amp;nbsp;
&amp;nbsp;
모델과 엔티티를 구성하는 클래스를 구성해보았다.&amp;nbsp;
위치 : com.example.demo.model 패키지
이름 : TodoEntity.java
&amp;nbsp;
package com.example.demo.model;
..</description>
      <category>Spring/웹 개발 101</category>
      <category>DTO</category>
      <category>모델</category>
      <category>엔티티</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/309</guid>
      <comments>https://codingham.tistory.com/309#entry309comment</comments>
      <pubDate>Mon, 4 Apr 2022 16:20:11 +0900</pubDate>
    </item>
    <item>
      <title>2.2 백엔드 서비스 아키텍쳐</title>
      <link>https://codingham.tistory.com/308</link>
      <description>레이어드 아키텍처 패턴 : 스프링 프로젝트 내부에서 어떻게 코드를 적절히 분리하고 관리할 것인지에 대한 것.&amp;nbsp;
REST 아키텍처 스타일 : 클라이언트(브라우저)가 우리 서비스를 이용하려면 어떤 형식으로 요청을 보내고 응답을 받는지에 대한 것.&amp;nbsp;
Restful 서비스 : 클라이언트는 몇 개의 정해진 method로 우리 서비스를 이용하며 rest 아키텍처에 따라 설계 및 구현된 서비스를 총칭함.&amp;nbsp;

&amp;nbsp;
웹서비스 작동프로세..</description>
      <category>Spring/웹 개발 101</category>
      <category>백엔드</category>
      <category>서비스</category>
      <category>아키텍쳐</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/308</guid>
      <comments>https://codingham.tistory.com/308#entry308comment</comments>
      <pubDate>Sun, 3 Apr 2022 14:50:00 +0900</pubDate>
    </item>
    <item>
      <title>백준 11279 최대힙 C++</title>
      <link>https://codingham.tistory.com/307</link>
      <description>&amp;nbsp;

&amp;nbsp;
&amp;nbsp;


예제 입력 1&amp;nbsp;복사

13
0
1
2
0
0
3
2
1
0
0
0
0
0




예제 출력 1&amp;nbsp;복사

0
2
1
3
2
1
0
0

&amp;nbsp;
&amp;nbsp;
=&amp;gt; 최대힙을 구현할 수 있는지에 대한 문제였습니ㅏㄷ.&amp;nbsp;
=&amp;gt; C++에는 queue 헤더 안에 priority_queue 자료형을 사용 할 수 있습니다.&amp;nbsp;
=&amp;gt; 해당 자료형을 이용해서 주어진 조건에 따라 ..</description>
      <category>백준 algorithm</category>
      <category>C++</category>
      <category>백준</category>
      <category>우선순위큐</category>
      <category>최대힙</category>
      <category>힙</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/307</guid>
      <comments>https://codingham.tistory.com/307#entry307comment</comments>
      <pubDate>Sat, 2 Apr 2022 23:58:01 +0900</pubDate>
    </item>
    <item>
      <title>백준 2606 바이러스 C++</title>
      <link>https://codingham.tistory.com/306</link>
      <description>&amp;nbsp;


입력


첫째 줄에는 컴퓨터의 수가 주어진다. 컴퓨터의 수는 100 이하이고 각 컴퓨터에는 1번부터 차례대로 번호가 매겨진다. 둘째 줄에는 네트워크 상에서 직접 연결되어 있는 컴퓨터 쌍의 수가 주어진다. 이어서 그 수만큼 한 줄에 한 쌍씩 네트워크 상에서 직접 연결되어 있는 컴퓨터의 번호 쌍이 주어진다.




출력


1번 컴퓨터가 웜 바이러스에 걸렸을 때, 1번 컴퓨터를 통해 웜 바이러스에 걸리게 되는 컴퓨터의 수를 첫째 줄에 출력한..</description>
      <category>백준 algorithm</category>
      <category>DFS</category>
      <category>백준</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/306</guid>
      <comments>https://codingham.tistory.com/306#entry306comment</comments>
      <pubDate>Thu, 31 Mar 2022 01:16:11 +0900</pubDate>
    </item>
    <item>
      <title>백준 7576 - 토마토 C++</title>
      <link>https://codingham.tistory.com/305</link>
      <description>&amp;nbsp;


입력


첫 줄에는 상자의 크기를 나타내는 두 정수 M,N이 주어진다. M은 상자의 가로 칸의 수, N은 상자의 세로 칸의 수를 나타낸다. 단, 2 &amp;le; M,N &amp;le; 1,000 이다. 둘째 줄부터는 하나의 상자에 저장된 토마토들의 정보가 주어진다. 즉, 둘째 줄부터 N개의 줄에는 상자에 담긴 토마토의 정보가 주어진다. 하나의 줄에는 상자 가로줄에 들어있는 토마토의 상태가 M개의 정수로 주어진다. 정수 1은 익은 토마토, 정수 0은..</description>
      <category>백준 algorithm</category>
      <category>BFS</category>
      <category>백준</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/305</guid>
      <comments>https://codingham.tistory.com/305#entry305comment</comments>
      <pubDate>Tue, 29 Mar 2022 23:15:37 +0900</pubDate>
    </item>
    <item>
      <title>백준 2178 - 미로탐색 C++</title>
      <link>https://codingham.tistory.com/304</link>
      <description>&amp;nbsp;


입력


첫째 줄에 두 정수 N, M(2 &amp;le; N, M &amp;le; 100)이 주어진다. 다음 N개의 줄에는 M개의 정수로 미로가 주어진다. 각각의 수들은&amp;nbsp;붙어서&amp;nbsp;입력으로 주어진다.




출력


첫째 줄에 지나야 하는 최소의 칸 수를 출력한다. 항상 도착 위치로 이동할 수 있는 경우만 입력으로 주어진다.






예제 입력 1&amp;nbsp;복사

4 6
101111
101010
101011
111011




예제 출..</description>
      <category>백준 algorithm</category>
      <category>BFS</category>
      <category>C++</category>
      <category>백준</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/304</guid>
      <comments>https://codingham.tistory.com/304#entry304comment</comments>
      <pubDate>Mon, 28 Mar 2022 17:45:44 +0900</pubDate>
    </item>
    <item>
      <title>MAC 이모티콘 단축키 | MAC 단축키 정리</title>
      <link>https://codingham.tistory.com/303</link>
      <description>MAC을 사용하다 보면 단축키를 사용해서 편리하지만, 해당 단축키를 기억하지 못해 답답할 때가 있습니다. 단축키를 정리해보았습니다.&amp;nbsp;
자주 사용하는 단축키의 경우 굵게 표시해두겠습니다.&amp;nbsp;
&amp;nbsp;
CONTROL + COMMAND + SpaceBar : 이모티콘 보이기&amp;nbsp;
command+spaceBar : spotlight&amp;nbsp;
command + w : 창닫기&amp;nbsp;
command + Q : 프로그램 종료&amp;nbsp;
..</description>
      <category>etc/MAC</category>
      <category>Mac</category>
      <category>단축키</category>
      <category>사용법</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/303</guid>
      <comments>https://codingham.tistory.com/303#entry303comment</comments>
      <pubDate>Sun, 27 Mar 2022 14:38:06 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 조이스틱 C++</title>
      <link>https://codingham.tistory.com/302</link>
      <description>&amp;nbsp;
제한 사항

name은 알파벳 대문자로만 이루어져 있습니다.
name의 길이는 1 이상 20 이하입니다.

입출력 예
name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;n..</description>
      <category>프로그래머스(Programmers)</category>
      <category>C++</category>
      <category>그리디</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/302</guid>
      <comments>https://codingham.tistory.com/302#entry302comment</comments>
      <pubDate>Tue, 22 Mar 2022 00:50:26 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 n^2 배열 자르기  C++</title>
      <link>https://codingham.tistory.com/301</link>
      <description>#include &amp;lt;string&amp;gt;
#include &amp;lt;vector&amp;gt;

using namespace std;

vector&amp;lt;int&amp;gt; solution(int n, long long left, long long right) {
    vector&amp;lt;int&amp;gt; answer;
    
    long divisor=0, mod=0; //나누는 수, 나머지 
    
    for(long long idx =left; idx &amp;..</description>
      <category>프로그래머스(Programmers)</category>
      <category>C++</category>
      <category>수학</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/301</guid>
      <comments>https://codingham.tistory.com/301#entry301comment</comments>
      <pubDate>Mon, 21 Mar 2022 00:38:21 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 가운데 글자 가져오기</title>
      <link>https://codingham.tistory.com/300</link>
      <description>&amp;nbsp;
입출력 예
s &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;n..</description>
      <category>프로그래머스(Programmers)</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/300</guid>
      <comments>https://codingham.tistory.com/300#entry300comment</comments>
      <pubDate>Sun, 20 Mar 2022 23:33:25 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 비밀지도 C++</title>
      <link>https://codingham.tistory.com/299</link>
      <description>&amp;nbsp;
=&amp;gt; 단순구현문제였습니다.&amp;nbsp;
=&amp;gt; 10진수로 주어진 숫자를 2진수 숫자로 변환하여 string형 vector 변수로 표현하여야 합니다.&amp;nbsp;
string Binary(int num , int digit) // 십진수, 자릿수
{
    string s = bitset&amp;lt;16&amp;gt;(num).to_string();  //&amp;lt; &amp;gt; 안에 있는 숫자는 몇자리까지 표현할지를 정한다.
    string value..</description>
      <category>프로그래머스(Programmers)</category>
      <category>binary</category>
      <category>level1</category>
      <category>레벨1</category>
      <category>이진수</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/299</guid>
      <comments>https://codingham.tistory.com/299#entry299comment</comments>
      <pubDate>Sun, 13 Mar 2022 11:46:25 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 같은 숫자는 싫어 C++</title>
      <link>https://codingham.tistory.com/298</link>
      <description>제한사항

배열 arr의 크기 : 1,000,000 이하의 자연수
배열 arr의 원소의 크기 : 0보다 크거나 같고 9보다 작거나 같은 정수


입출력 예
arr &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nb..</description>
      <category>프로그래머스(Programmers)</category>
      <category>C++</category>
      <category>level1</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/298</guid>
      <comments>https://codingham.tistory.com/298#entry298comment</comments>
      <pubDate>Sat, 12 Mar 2022 00:24:51 +0900</pubDate>
    </item>
    <item>
      <title>프로그래머스 구명보트 C++</title>
      <link>https://codingham.tistory.com/297</link>
      <description>&amp;nbsp;
&amp;nbsp;
제한사항

무인도에 갇힌 사람은 1명 이상 50,000명 이하입니다.
각 사람의 몸무게는 40kg 이상 240kg 이하입니다.
구명보트의 무게 제한은 40kg 이상 240kg 이하입니다.
구명보트의 무게 제한은 항상 사람들의 몸무게 중 최댓값보다 크게 주어지므로 사람들을 구출할 수 없는 경우는 없습니다.

입출력 예
people &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ..</description>
      <category>프로그래머스(Programmers)</category>
      <category>C++</category>
      <category>greedy</category>
      <category>탐욕</category>
      <category>프로그래머스</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/297</guid>
      <comments>https://codingham.tistory.com/297#entry297comment</comments>
      <pubDate>Fri, 11 Mar 2022 23:18:40 +0900</pubDate>
    </item>
    <item>
      <title>spring boot day1 - 기본설정 및 실행 , 용어 설명</title>
      <link>https://codingham.tistory.com/296</link>
      <description></description>
      <category>Spring</category>
      <author>cosmohoo</author>
      <guid isPermaLink="true">https://codingham.tistory.com/296</guid>
      <comments>https://codingham.tistory.com/296#entry296comment</comments>
      <pubDate>Wed, 2 Mar 2022 23:51:23 +0900</pubDate>
    </item>
  </channel>
</rss>