<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Debug.Log</title>
    <link>https://debuglog.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Tue, 9 Jun 2026 17:21:49 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>셩님</managingEditor>
    <image>
      <title>Debug.Log</title>
      <url>https://t1.daumcdn.net/cfile/tistory/2171FA3858E93DCE3A</url>
      <link>https://debuglog.tistory.com</link>
    </image>
    <item>
      <title>백준 3190번 - 뱀</title>
      <link>https://debuglog.tistory.com/159</link>
      <description>&lt;h3&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;백준 3190번 - 뱀&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;&lt;a href=&quot;https://www.acmicpc.net/problem/3190&quot;&gt;https://www.acmicpc.net/problem/3190&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;문제&lt;/span&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;Snake류 게임 시뮬레이션&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;뱀은 좌회전, 우회전 가능&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;뱀이 이동할 위치에 사과가 있으면 뱀의 길이가 늘어남&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;뱀이 벽에 부딪히거나 자신의 몸에 부딪히면 게임 종료&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;입력&lt;/span&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;보드의 크기 N (2 &amp;le; N &amp;le; 100)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;사과의 개수 K (0 &amp;le; K &amp;le; 100)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;K개의 줄에는 사과의 위치 (행,열)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;뱀의 방향 변환 횟수 L (1 &amp;le; L &amp;le; 100)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;뱀의 방향 변환 정보 (X초가 끝난 뒤에 왼쪽(C가 'L') 또는 오른쪽(C가 'D')로 90도 방향을 회전)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;X는 10,000 이하의 양의 정수이며, 방향 전환 정보는 X가 증가하는 순&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;출력&lt;/span&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;첫째 줄에 게임이 몇 초에 끝나는지 출력&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;접근&lt;/span&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;1) 뱀이 이동할 위치를 계산한다&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;2) 뱀이 이동할 위치가 뱀의 몸이거나 벽이면 게임 종료&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;3) 뱀이 이동할 위치에 사과가 없으면 꼬리를 이동할 위치로 옮긴다. (뱀의 위치는 Queue로 구현)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;4) 머리를 이동 시킨다&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;5) 방향 전환을 한다&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;span style=&quot;font-family: 'Nanum Gothic';&quot;&gt;C++ 코드&lt;/span&gt;&lt;/h4&gt;
&lt;pre id=&quot;code_1560785510443&quot; class=&quot;c++ cpp&quot; data-ke-type=&quot;codeblock&quot;&gt;&lt;code&gt;#include &amp;lt;iostream&amp;gt;
#include &amp;lt;queue&amp;gt;
using namespace std;

int main()
{
	ios::sync_with_stdio(false);
	cin.tie(NULL);

	int n; // 보드 크기
	int k; // 사과 개수
	int l; // 방향 변환 횟수

	int map[101][101] = { 0, }; // 맵 기본값 : 0
	pair&amp;lt;int, char&amp;gt; dir_change[101]; // 방향 변환
	int cur_change_index = 0;

	const int APPLE = 1;
	const int SNAKE = -1;

	int dx[4] = { 0, 1, 0, -1 };
	int dy[4] = { 1, 0, -1, 0 };

	//방향 전환 인덱스
	//좌회전 할 경우, cur_direction = (cur_direction + 3) % 4;
	//우회전 할 경우, cur_direction = (cur_direction + 1) % 4;
	int cur_direction = 0;

	//초기 뱀 위치
	map[0][0] = SNAKE;
	pair&amp;lt;int, int&amp;gt; head = { 0, 0 };
	queue&amp;lt;pair&amp;lt;int, int&amp;gt;&amp;gt; snake;
	snake.push(head);

	cin &amp;gt;&amp;gt; n;
	cin &amp;gt;&amp;gt; k;

	for (int i = 0; i &amp;lt; k; i++) 
	{
		int x, y; // 사과 위치
		
		cin &amp;gt;&amp;gt; x &amp;gt;&amp;gt; y;
		map[x - 1][y - 1] = APPLE;
	}

	cin &amp;gt;&amp;gt; l;
	for (int i = 0; i &amp;lt; l; i++)
	{
		//방향변환
		cin &amp;gt;&amp;gt; dir_change[i].first &amp;gt;&amp;gt; dir_change[i].second;
	}

	int sec = 0;

	while (1)
	{
		sec++;

		int nx = head.first + dx[cur_direction];
		int ny = head.second + dy[cur_direction];

		if (nx &amp;lt; 0 || ny &amp;lt; 0 || nx &amp;gt;= n || ny &amp;gt;= n)
		{
			//벽이면 게임 끝
			break;
		}
		else if (map[nx][ny] == SNAKE)
		{
			//이동할 위치가 뱀의 몸의 일부분이면 게임 끝
			break;
		}
		else if (map[nx][ny] != APPLE)
		{
			//사과가 없으면 꼬리가 이동
			auto tail = snake.front();
			snake.pop();

			map[tail.first][tail.second] = 0;
		}

		//머리 한칸 이동
		head = { nx, ny };
		snake.push(head);

		map[nx][ny] = SNAKE;


		//진행 방향을 찾음
		int dir_change_sec = dir_change[cur_change_index].first;
		if (cur_change_index &amp;lt; l &amp;amp;&amp;amp; dir_change_sec == sec)
		{
			char dir = dir_change[cur_change_index].second;
			if (dir == 'L')
			{
				cur_direction = (cur_direction + 3) % 4;
			}
			else if (dir == 'D')
			{
				cur_direction = (cur_direction + 1) % 4;
			}
			cur_change_index++;
		}
	}

	cout &amp;lt;&amp;lt; sec &amp;lt;&amp;lt; '\n';

	return 0;
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>아카이빙/BOJ</category>
      <category>BOJ 3190</category>
      <category>백준 3190번</category>
      <category>뱀</category>
      <category>시뮬레이션</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/159</guid>
      <comments>https://debuglog.tistory.com/159#entry159comment</comments>
      <pubDate>Tue, 18 Jun 2019 00:32:28 +0900</pubDate>
    </item>
    <item>
      <title>백준 1946번 - 신입 사원</title>
      <link>https://debuglog.tistory.com/158</link>
      <description>&lt;h3&gt;백준 1946번 - 신입 사원&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;https://www.acmicpc.net/problem/1946&quot;&gt;https://www.acmicpc.net/problem/1946&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;문제&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;지원자의 서류심사 성적, 면접 성적의 순위가 주어짐&lt;/li&gt;
&lt;li&gt;서류심사의 성적이나 면접 성적이 적어도 다른 합격자들 보다 하나는 높아야 하는 경우, 나올 수 있는 최대 합격자의 수&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;입력&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;테스트 케이스의 개수 T(1 &amp;le; T &amp;le; 20)&lt;/li&gt;
&lt;li&gt;각 테스트 케이스의 첫째 줄에 지원자의 숫자 N(1 &amp;le; N &amp;le; 100,000)&lt;/li&gt;
&lt;li&gt;둘째 줄부터 N개 줄에는 각각의 지원자의 서류심사 성적, 면접 성적의 순위&lt;/li&gt;
&lt;li&gt;두 성적 순위는 모두 1위부터 N위까지 동석차 없이 결정된다고 가정&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;출력&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;선발할 수 있는 신입사원의 최대 인원수&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;접근&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;서류심사의 성적을 오름차순으로 정렬했을 때, 뒤의 지원자의 서류심사 성적은 무조건 앞의 지원자 보다 낮게 된다.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;이 때, 면접성적까지 앞의 지원자보다 낮게 된다면 합격자가 될 수 없으므로 패쓰!&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;면접성적이 앞의 지원자들보다 좋다면 합격이고, 그 성적이 면접성적의 합격 기준이되며 반복&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;예시)&lt;/p&gt;
&lt;pre class=&quot;html xml&quot;&gt;&lt;code&gt;7
3 6
7 3
4 2
1 4
5 7
2 5
6 1

1. 서류심사를 오름차순대로 정렬
1 4
2 5
3 6
4 2
5 7
6 1
7 3

2. 면접성적을 차례대로 비교
1 4 &amp;lt;- 다음에 올 사람은 면접성적이 4위보다 좋아야 함 (count : 1)
2 5 &amp;lt;- Pass
3 6 &amp;lt;- Pass
4 2 &amp;lt;- 다음에 올 사람은 면접성적이 2위보다 좋아야 함 (count : 2)
5 7 &amp;lt;- Pass
6 1 &amp;lt;- 다음에 올 사람은 면접성적이 1위보다 좋아야 함 / 불가능 (count : 3)
7 3 &amp;lt;- Break&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;C++ Code&lt;/h4&gt;
&lt;pre class=&quot;c++ cpp&quot;&gt;&lt;code&gt;#include &amp;lt;iostream&amp;gt;
#include &amp;lt;algorithm&amp;gt;
using namespace std;

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(NULL);

    int t;
    cin &amp;gt;&amp;gt; t;
    while (t--) {
        int n;
        pair&amp;lt;int, int&amp;gt; p[100001];

        cin &amp;gt;&amp;gt; n;
        for (int i = 0; i &amp;lt; n; ++i) {
            cin &amp;gt;&amp;gt; p[i].first &amp;gt;&amp;gt; p[i].second;
        }

        sort(p, p + n);

        int ans = 1;
        int temp = p[0].second;
        for (int i = 1; i &amp;lt; n; ++i) {
            if (p[i].second &amp;lt; temp) {
                ans++;
                temp = p[i].second;

                if (temp == 1) {
                    break;
                }
            }
        }
        cout &amp;lt;&amp;lt; ans &amp;lt;&amp;lt; '\n';
    }

    return 0;
}&lt;/code&gt;&lt;/pre&gt;</description>
      <category>BOJ1946</category>
      <category>그리디</category>
      <category>백준 1946번</category>
      <category>신입 사원</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/158</guid>
      <comments>https://debuglog.tistory.com/158#entry158comment</comments>
      <pubDate>Mon, 17 Jun 2019 02:39:58 +0900</pubDate>
    </item>
    <item>
      <title>백준 1644번 - 소수의 연속합</title>
      <link>https://debuglog.tistory.com/157</link>
      <description>&lt;h3 cid=&quot;n535&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.5em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.43; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;백준 1644번 - 소수의 연속합&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n537&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n538&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;autolink&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;a href=&quot;https://www.acmicpc.net/problem/1644&quot; style=&quot;box-sizing: border-box; cursor: pointer; color: rgb(65, 131, 196); -webkit-user-drag: none;&quot;&gt;https://www.acmicpc.net/problem/1644&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n539&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n540&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n541&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n541&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;문제&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n542&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n543&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n544&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n545&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;2 이상의 자연수가 주어졌을 때,&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n546&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n547&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n548&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;이 자연수를 하나 이상의 연속된 소수의 합으로 나타낼 수 있는 경우의 수&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n549&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n550&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n552&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;예를 들어,&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n551&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0px; padding-left: 30px; position: relative;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n553&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n554&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n555&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;41 : 2+3+5+7+11+13 = 11+13+17 = 41 (세 가지)&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 cid=&quot;n556&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n556&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;입력&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n557&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n558&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n559&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n560&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;자연수 N&amp;nbsp;(1 ≤ N ≤ 4,000,000)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n561&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n562&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n563&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n563&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;출력&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n564&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n565&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n566&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n567&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;경우의 수&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n568&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n569&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 cid=&quot;n570&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n570&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;접근&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n571&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n572&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n573&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n574&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;에라토스테네스의 체를 활용하여 n 까지의 소수를 미리 구함&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n575&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n576&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n578&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;투 포인터를 활용하여 포인터 2개 사이의 구간합을 구해가며 n가 같음을 확인&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n577&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0px; padding-left: 30px; position: relative;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n579&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n580&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n581&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;구간합이 n보다 작으면 우측의 포인터를 증가&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n582&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n583&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n584&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;구간합이 n보다 크거나 같으면 좌측의 포인터를 증가&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n585&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n586&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n587&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;우측의 포인터가 끝에 도달하면 종료&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n588&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n589&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n590&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n591&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 cid=&quot;n592&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;C++ Code&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c++&quot; contenteditable=&quot;false&quot; cid=&quot;n593&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;vector&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;algorithm&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;cmath&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;namespace&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;std&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;vector&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;primes&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;vector&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;bool&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;check&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;main&lt;/span&gt;()&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ios::sync_with_stdio&lt;/span&gt;(&lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;false&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;tie&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;NULL&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; class=&quot;cm-tab-wrap-hack&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//에라토스테네스의 체&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;check&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;resize&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;, &lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;true&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;2&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;check&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;]) &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;continue&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;check&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;false&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;2&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;check&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;]) &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;primes&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;push_back&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//투포인터를 이용&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//1. lo와 hi 사이의 구간합을 구한다.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//2. 구간합이 n보다 크거나 같으면 가장 왼쪽의 수를 뺀다.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//3. 구간합이 n보다 작으면 가장 오른쪽의 수를 더한다.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;result&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;lo&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;hi&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;while&lt;/span&gt; (&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;) {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;) {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;-=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;primes&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;lo&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;} &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;hi&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;primes&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;size&lt;/span&gt;()) {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;break&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;} &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;else&lt;/span&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;primes&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;hi&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;) &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cout&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;result&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>아카이빙/BOJ</category>
      <category>BOJ 1644</category>
      <category>백준 1644번</category>
      <category>소수의 연속합</category>
      <category>에라토스테네스의 체</category>
      <category>투포인터</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/157</guid>
      <comments>https://debuglog.tistory.com/157#entry157comment</comments>
      <pubDate>Sun, 21 Oct 2018 18:35:53 +0900</pubDate>
    </item>
    <item>
      <title>백준 11778번 - 피보나치 수와 최대공약수</title>
      <link>https://debuglog.tistory.com/156</link>
      <description>&lt;h3 cid=&quot;n0&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.5em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.43; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;백준 11778번 - 피보나치 수와 최대공약수&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n4&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n5&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;autolink&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;a href=&quot;https://www.acmicpc.net/problem/11778&quot; style=&quot;box-sizing: border-box; cursor: pointer; color: rgb(65, 131, 196); -webkit-user-drag: none;&quot;&gt;https://www.acmicpc.net/problem/11778&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n6&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n7&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt; &lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n8&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;문제&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n9&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n267&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n268&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n269&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;n 번째 피보나치 수와 m 번째 피보나치 수의 최대공약수를 구해보자.&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n34&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n35&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;linebreak&quot; style=&quot;box-sizing: border-box; white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; position: relative; width: inherit;&quot;&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 cid=&quot;n36&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;입력&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n37&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n38&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n39&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n40&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;n과 m&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n279&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n278&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n273&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;n과 m은 1,000,000,000,000,000,000보다 작거나 같은 자연수&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 cid=&quot;n62&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;linebreak&quot; style=&quot;box-sizing: border-box;&quot;&gt;  &lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n63&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;출력&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n64&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n65&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n66&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n67&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;n 번째 피보나치 수와 m 번째 피보나치 수의 최대공약수를 1,000,000,007으로 나눈 나머지&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n80&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n81&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;linebreak&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n82&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;접근&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n83&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n84&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n85&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n86&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;최대공약수는 유클리드 호제법으로 구한다.&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n296&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0px; padding-left: 30px; position: relative;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n295&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n294&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n289&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;GCD(a, b) = GCD(b, a % b)&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n303&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n302&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n297&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;피보나치 수는 수가 매우 크기 때문에 DP로 구하면 시간초과&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n310&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n309&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n304&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;행렬 곱셈을 활용하여 O(log N)의 시간복잡도로 피보나치 수를 구해야한다.&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n330&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n325&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div contenteditable=&quot;false&quot; class=&quot;mathjax-block md-end-block&quot; id=&quot;mathjax-n324&quot; cid=&quot;n324&quot; mdtype=&quot;math_block&quot; style=&quot;box-sizing: border-box; padding-top: 0px; margin: -1.143rem 0px 0.5rem; -webkit-margin-before: 0px; -webkit-margin-after: 0px; white-space: pre; overflow-x: auto; overflow-y: hidden; width: 692.4px; position: relative;&quot;&gt;&lt;span class=&quot;MathJax_Preview&quot; style=&quot;box-sizing: border-box; color: rgb(136, 136, 136);&quot;&gt;&lt;/span&gt;&lt;span class=&quot;MathJax_SVG_Display&quot; style=&quot;box-sizing: border-box; width: auto; margin: 1em 0px; text-align: center; position: relative; max-width: none; max-height: none; min-width: 100%; min-height: 0px; display: block !important;&quot;&gt;&lt;span class=&quot;MathJax_SVG&quot; id=&quot;MathJax-Element-68-Frame&quot; tabindex=&quot;-1&quot; style=&quot;box-sizing: border-box; float: none; direction: ltr; max-width: none; max-height: none; min-height: 0px; display: inline-block; line-height: normal; zoom: 0.9; text-align: left; word-spacing: normal; word-wrap: normal; white-space: nowrap; min-width: 0px; border: 0px; padding: 0px; margin: 0px;&quot;&gt;&lt;svg xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; width=&quot;29.223ex&quot; height=&quot;5.963ex&quot; viewBox=&quot;0 -1560 12581.9 2567.2&quot; role=&quot;img&quot; focusable=&quot;false&quot; style=&quot;vertical-align: -2.339ex;&quot; class=&quot;in-text-selection&quot;&gt;&lt;defs&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-28&quot; d=&quot;M94 250Q94 319 104 381T127 488T164 576T202 643T244 695T277 729T302 750H315H319Q333 750 333 741Q333 738 316 720T275 667T226 581T184 443T167 250T184 58T225 -81T274 -167T316 -220T333 -241Q333 -250 318 -250H315H302L274 -226Q180 -141 137 -14T94 250Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-31&quot; d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-30&quot; d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-29&quot; d=&quot;M60 749L64 750Q69 750 74 750H86L114 726Q208 641 251 514T294 250Q294 182 284 119T261 12T224 -76T186 -143T145 -194T113 -227T90 -246Q87 -249 86 -250H74Q66 -250 63 -250T58 -247T55 -238Q56 -237 66 -225Q221 -64 221 250T66 725Q56 737 55 738Q55 746 60 749Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJSZ3-28&quot; d=&quot;M701 -940Q701 -943 695 -949H664Q662 -947 636 -922T591 -879T537 -818T475 -737T412 -636T350 -511T295 -362T250 -186T221 17T209 251Q209 962 573 1361Q596 1386 616 1405T649 1437T664 1450H695Q701 1444 701 1441Q701 1436 681 1415T629 1356T557 1261T476 1118T400 927T340 675T308 359Q306 321 306 250Q306 -139 400 -430T690 -924Q701 -936 701 -940Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJSZ3-29&quot; d=&quot;M34 1438Q34 1446 37 1448T50 1450H56H71Q73 1448 99 1423T144 1380T198 1319T260 1238T323 1137T385 1013T440 864T485 688T514 485T526 251Q526 134 519 53Q472 -519 162 -860Q139 -885 119 -904T86 -936T71 -949H56Q43 -949 39 -947T34 -937Q88 -883 140 -813Q428 -430 428 251Q428 453 402 628T338 922T245 1146T145 1309T46 1425Q44 1427 42 1429T39 1433T36 1436L34 1438Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-6E&quot; d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-3D&quot; d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-46&quot; d=&quot;M48 1Q31 1 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H742Q749 676 749 669Q749 664 736 557T722 447Q720 440 702 440H690Q683 445 683 453Q683 454 686 477T689 530Q689 560 682 579T663 610T626 626T575 633T503 634H480Q398 633 393 631Q388 629 386 623Q385 622 352 492L320 363H375Q378 363 398 363T426 364T448 367T472 374T489 386Q502 398 511 419T524 457T529 475Q532 480 548 480H560Q567 475 567 470Q567 467 536 339T502 207Q500 200 482 200H470Q463 206 463 212Q463 215 468 234T473 274Q473 303 453 310T364 317H309L277 190Q245 66 245 60Q245 46 334 46H359Q365 40 365 39T363 19Q359 6 353 0H336Q295 2 185 2Q120 2 86 2T48 1Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-2B&quot; d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot;&gt;&lt;/path&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-2212&quot; d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot;&gt;&lt;/path&gt;&lt;/defs&gt;&lt;g stroke=&quot;currentColor&quot; fill=&quot;currentColor&quot; stroke-width=&quot;0&quot; transform=&quot;matrix(1 0 0 -1 0 0)&quot;&gt;&lt;use xlink:href=&quot;#E70-MJSZ3-28&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJSZ3-28&quot; d=&quot;M701 -940Q701 -943 695 -949H664Q662 -947 636 -922T591 -879T537 -818T475 -737T412 -636T350 -511T295 -362T250 -186T221 17T209 251Q209 962 573 1361Q596 1386 616 1405T649 1437T664 1450H695Q701 1444 701 1441Q701 1436 681 1415T629 1356T557 1261T476 1118T400 927T340 675T308 359Q306 321 306 250Q306 -139 400 -430T690 -924Q701 -936 701 -940Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;g transform=&quot;translate(903,0)&quot;&gt;&lt;g transform=&quot;translate(-15,0)&quot;&gt;&lt;use xlink:href=&quot;#E70-MJMAIN-31&quot; x=&quot;0&quot; y=&quot;650&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-31&quot; d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use xlink:href=&quot;#E70-MJMAIN-31&quot; x=&quot;0&quot; y=&quot;-750&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-31&quot; d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;/g&gt;&lt;g transform=&quot;translate(1485,0)&quot;&gt;&lt;use xlink:href=&quot;#E70-MJMAIN-31&quot; x=&quot;0&quot; y=&quot;650&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-31&quot; d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use xlink:href=&quot;#E70-MJMAIN-30&quot; x=&quot;0&quot; y=&quot;-750&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-30&quot; d=&quot;M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;/g&gt;&lt;/g&gt;&lt;use xlink:href=&quot;#E70-MJSZ3-29&quot; x=&quot;3055&quot; y=&quot;-1&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJSZ3-29&quot; d=&quot;M34 1438Q34 1446 37 1448T50 1450H56H71Q73 1448 99 1423T144 1380T198 1319T260 1238T323 1137T385 1013T440 864T485 688T514 485T526 251Q526 134 519 53Q472 -519 162 -860Q139 -885 119 -904T86 -936T71 -949H56Q43 -949 39 -947T34 -937Q88 -883 140 -813Q428 -430 428 251Q428 453 402 628T338 922T245 1146T145 1309T46 1425Q44 1427 42 1429T39 1433T36 1436L34 1438Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use transform=&quot;scale(0.707)&quot; xlink:href=&quot;#E70-MJMATHI-6E&quot; x=&quot;5361&quot; y=&quot;1664&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-6E&quot; d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use xlink:href=&quot;#E70-MJMAIN-3D&quot; x=&quot;4593&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-3D&quot; d=&quot;M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;g transform=&quot;translate(5648,0)&quot;&gt;&lt;use xlink:href=&quot;#E70-MJSZ3-28&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJSZ3-28&quot; d=&quot;M701 -940Q701 -943 695 -949H664Q662 -947 636 -922T591 -879T537 -818T475 -737T412 -636T350 -511T295 -362T250 -186T221 17T209 251Q209 962 573 1361Q596 1386 616 1405T649 1437T664 1450H695Q701 1444 701 1441Q701 1436 681 1415T629 1356T557 1261T476 1118T400 927T340 675T308 359Q306 321 306 250Q306 -139 400 -430T690 -924Q701 -936 701 -940Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;g transform=&quot;translate(903,0)&quot;&gt;&lt;g transform=&quot;translate(-15,0)&quot;&gt;&lt;g transform=&quot;translate(0,653)&quot;&gt;&lt;use xlink:href=&quot;#E70-MJMATHI-46&quot; x=&quot;0&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-46&quot; d=&quot;M48 1Q31 1 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H742Q749 676 749 669Q749 664 736 557T722 447Q720 440 702 440H690Q683 445 683 453Q683 454 686 477T689 530Q689 560 682 579T663 610T626 626T575 633T503 634H480Q398 633 393 631Q388 629 386 623Q385 622 352 492L320 363H375Q378 363 398 363T426 364T448 367T472 374T489 386Q502 398 511 419T524 457T529 475Q532 480 548 480H560Q567 475 567 470Q567 467 536 339T502 207Q500 200 482 200H470Q463 206 463 212Q463 215 468 234T473 274Q473 303 453 310T364 317H309L277 190Q245 66 245 60Q245 46 334 46H359Q365 40 365 39T363 19Q359 6 353 0H336Q295 2 185 2Q120 2 86 2T48 1Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;g transform=&quot;translate(643,-150)&quot;&gt;&lt;use transform=&quot;scale(0.707)&quot; xlink:href=&quot;#E70-MJMATHI-6E&quot; x=&quot;0&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-6E&quot; d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use transform=&quot;scale(0.707)&quot; xlink:href=&quot;#E70-MJMAIN-2B&quot; x=&quot;600&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-2B&quot; d=&quot;M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use transform=&quot;scale(0.707)&quot; xlink:href=&quot;#E70-MJMAIN-31&quot; x=&quot;1378&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-31&quot; d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(451,-754)&quot;&gt;&lt;use xlink:href=&quot;#E70-MJMATHI-46&quot; x=&quot;0&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-46&quot; d=&quot;M48 1Q31 1 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H742Q749 676 749 669Q749 664 736 557T722 447Q720 440 702 440H690Q683 445 683 453Q683 454 686 477T689 530Q689 560 682 579T663 610T626 626T575 633T503 634H480Q398 633 393 631Q388 629 386 623Q385 622 352 492L320 363H375Q378 363 398 363T426 364T448 367T472 374T489 386Q502 398 511 419T524 457T529 475Q532 480 548 480H560Q567 475 567 470Q567 467 536 339T502 207Q500 200 482 200H470Q463 206 463 212Q463 215 468 234T473 274Q473 303 453 310T364 317H309L277 190Q245 66 245 60Q245 46 334 46H359Q365 40 365 39T363 19Q359 6 353 0H336Q295 2 185 2Q120 2 86 2T48 1Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use transform=&quot;scale(0.707)&quot; xlink:href=&quot;#E70-MJMATHI-6E&quot; x=&quot;909&quot; y=&quot;-213&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-6E&quot; d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;/g&gt;&lt;/g&gt;&lt;g transform=&quot;translate(3056,0)&quot;&gt;&lt;g transform=&quot;translate(451,653)&quot;&gt;&lt;use xlink:href=&quot;#E70-MJMATHI-46&quot; x=&quot;0&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-46&quot; d=&quot;M48 1Q31 1 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H742Q749 676 749 669Q749 664 736 557T722 447Q720 440 702 440H690Q683 445 683 453Q683 454 686 477T689 530Q689 560 682 579T663 610T626 626T575 633T503 634H480Q398 633 393 631Q388 629 386 623Q385 622 352 492L320 363H375Q378 363 398 363T426 364T448 367T472 374T489 386Q502 398 511 419T524 457T529 475Q532 480 548 480H560Q567 475 567 470Q567 467 536 339T502 207Q500 200 482 200H470Q463 206 463 212Q463 215 468 234T473 274Q473 303 453 310T364 317H309L277 190Q245 66 245 60Q245 46 334 46H359Q365 40 365 39T363 19Q359 6 353 0H336Q295 2 185 2Q120 2 86 2T48 1Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use transform=&quot;scale(0.707)&quot; xlink:href=&quot;#E70-MJMATHI-6E&quot; x=&quot;909&quot; y=&quot;-213&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-6E&quot; d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;/g&gt;&lt;g transform=&quot;translate(0,-754)&quot;&gt;&lt;use xlink:href=&quot;#E70-MJMATHI-46&quot; x=&quot;0&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-46&quot; d=&quot;M48 1Q31 1 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H742Q749 676 749 669Q749 664 736 557T722 447Q720 440 702 440H690Q683 445 683 453Q683 454 686 477T689 530Q689 560 682 579T663 610T626 626T575 633T503 634H480Q398 633 393 631Q388 629 386 623Q385 622 352 492L320 363H375Q378 363 398 363T426 364T448 367T472 374T489 386Q502 398 511 419T524 457T529 475Q532 480 548 480H560Q567 475 567 470Q567 467 536 339T502 207Q500 200 482 200H470Q463 206 463 212Q463 215 468 234T473 274Q473 303 453 310T364 317H309L277 190Q245 66 245 60Q245 46 334 46H359Q365 40 365 39T363 19Q359 6 353 0H336Q295 2 185 2Q120 2 86 2T48 1Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;g transform=&quot;translate(643,-150)&quot;&gt;&lt;use transform=&quot;scale(0.707)&quot; xlink:href=&quot;#E70-MJMATHI-6E&quot; x=&quot;0&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMATHI-6E&quot; d=&quot;M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use transform=&quot;scale(0.707)&quot; xlink:href=&quot;#E70-MJMAIN-2212&quot; x=&quot;600&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-2212&quot; d=&quot;M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;use transform=&quot;scale(0.707)&quot; xlink:href=&quot;#E70-MJMAIN-31&quot; x=&quot;1378&quot; y=&quot;0&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJMAIN-31&quot; d=&quot;M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;/g&gt;&lt;use xlink:href=&quot;#E70-MJSZ3-29&quot; x=&quot;6196&quot; y=&quot;-1&quot;&gt;&lt;path stroke-width=&quot;0&quot; id=&quot;E70-MJSZ3-29&quot; d=&quot;M34 1438Q34 1446 37 1448T50 1450H56H71Q73 1448 99 1423T144 1380T198 1319T260 1238T323 1137T385 1013T440 864T485 688T514 485T526 251Q526 134 519 53Q472 -519 162 -860Q139 -885 119 -904T86 -936T71 -949H56Q43 -949 39 -947T34 -937Q88 -883 140 -813Q428 -430 428 251Q428 453 402 628T338 922T245 1146T145 1309T46 1425Q44 1427 42 1429T39 1433T36 1436L34 1438Z&quot;&gt;&lt;/path&gt;&lt;/use&gt;&lt;/g&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 cid=&quot;n93&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;C++ Code&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c++&quot; contenteditable=&quot;false&quot; cid=&quot;n96&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;vector&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;algorithm&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;cmath&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;namespace&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;std&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;typedef&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;unsigned&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;long&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;long&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;typedef&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;vector&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;vector&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;matrix&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;MOD&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1000000007&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//유클리드 호제법 GCD&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;gcd&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;) &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;gcd&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//2x2 행렬 곱셈&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;matrix&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;operator&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;matrix&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;matrix&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;x&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;y&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;] &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;x&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;%=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;MOD&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;y&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;%=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;MOD&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;%=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;MOD&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;%=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;MOD&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;matrix&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ret&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; { { &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;x&lt;/span&gt;,&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;y&lt;/span&gt; },{ &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;z&lt;/span&gt;,&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt; } };&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ret&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//행렬 제곱&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;power&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;matrix&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;) &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;matrix&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;E&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; { { &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;, &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt; },{ &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;, &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt; } };&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;power&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;2&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;%&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;) {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;E&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//행렬을 이용한 피보나치 수열 구하기&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;fib&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;matrix&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; { { &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;, &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt; },{ &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;, &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt; } };&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;power&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;F&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;][&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;main&lt;/span&gt;()&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ios::sync_with_stdio&lt;/span&gt;(&lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;false&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;tie&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;NULL&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;m&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;m&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ull&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ngcd&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;gcd&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;m&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cout&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;fib&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ngcd&lt;/span&gt;) &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;%&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;MOD&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>아카이빙/BOJ</category>
      <category>BOJ 11778</category>
      <category>유클리드 호제법</category>
      <category>최대공약수</category>
      <category>피보나치</category>
      <category>피보나치 행렬</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/156</guid>
      <comments>https://debuglog.tistory.com/156#entry156comment</comments>
      <pubDate>Sun, 21 Oct 2018 18:29:46 +0900</pubDate>
    </item>
    <item>
      <title>백준 2143번 - 두 배열의 합</title>
      <link>https://debuglog.tistory.com/155</link>
      <description>&lt;h3 cid=&quot;n0&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.5em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.43; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;백준 2143번 - 두 배열의 합&lt;/span&gt;&lt;/h3&gt;&lt;p cid=&quot;n4&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n5&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;autolink&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;a href=&quot;https://www.acmicpc.net/problem/2143&quot; style=&quot;box-sizing: border-box; cursor: pointer; color: rgb(65, 131, 196); -webkit-user-drag: none;&quot;&gt;https://www.acmicpc.net/problem/2143&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n6&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n7&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt; &lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n8&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;문제&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n9&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n10&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n11&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n12&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;배열 A와 B가 있다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n114&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n113&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n108&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;부배열은 배열의 부분 배열이다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n107&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n106&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n101&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;A =&amp;nbsp;{1, 3, 1, 2}, B =&amp;nbsp;{1, 3, 2} 인경우, A와 B의 부배열 합이 T인 경우의 수를 모두 찾아라.&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n34&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n35&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;linebreak&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 cid=&quot;n36&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;입력&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n37&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n38&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n39&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n40&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;첫째 줄 : T(-1,000,000,000 ≤ T ≤ 1,000,000,000)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n41&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n42&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n43&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;다음 줄 : n(1 ≤ n ≤ 1,000)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n139&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n138&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n133&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;A[1] 부터 A[n]까지 입력&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n44&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n45&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n46&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;다음 줄 : m(1 ≤ n ≤ 1,000)&lt;/span&gt;&lt;span md-inline=&quot;linebreak&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n47&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n48&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n49&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;B[1] 부터 B[n]까지 입력&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 cid=&quot;n62&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;linebreak&quot; style=&quot;box-sizing: border-box;&quot;&gt;  &lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n63&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;출력&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n64&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n65&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n66&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n67&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;경우의 수를 출력&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n155&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n154&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n149&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;없을 경우 0을 출력&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n80&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n81&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;span md-inline=&quot;linebreak&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n82&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;접근&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n83&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n84&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n85&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n86&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;A로 만들 수 있는 부배열의 합을 미리 다 구한다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n162&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n161&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n156&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;B로 만들 수 있는 부배열의 합을 미리 다 구한다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n169&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n168&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n163&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;B를 정렬&amp;nbsp;(바이너리 서치를 위함)&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n176&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n175&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n170&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;A의 원소를 하나씩 탐색하며 T와의 차이 값이 B에 몇 개 존재하는 지를 찾는다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4 cid=&quot;n92&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt; &lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n93&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;C++ Code&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c++&quot; contenteditable=&quot;false&quot; cid=&quot;n96&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;vector&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-meta&quot; style=&quot;box-sizing: border-box; color: rgb(85, 85, 85);&quot;&gt;#include &amp;lt;algorithm&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;namespace&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;std&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;INF&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;2e8&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;t&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;m&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1000&lt;/span&gt;], &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1000&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;vector&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;v&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;main&lt;/span&gt;()&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ios::sync_with_stdio&lt;/span&gt;(&lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;false&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;tie&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;NULL&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; class=&quot;cm-tab-wrap-hack&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;t&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; class=&quot;cm-tab-wrap-hack&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;) &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;m&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;m&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;) &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cin&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//a로 만들 수 있는 부분합&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;) {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;v&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;push_back&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;n&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;) {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;v&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;push_back&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//b로 만들 수 있는 부분합&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;m&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;) {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;push_back&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;1&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;m&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;) {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;[&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;j&lt;/span&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;push_back&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sum&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; class=&quot;cm-tab-wrap-hack&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;sort&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;begin&lt;/span&gt;(), &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;end&lt;/span&gt;());&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;long&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;long&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ans&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;auto&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;item&lt;/span&gt; : &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;v&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;diff&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;t&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;item&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;auto&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ub&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;upper_bound&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;begin&lt;/span&gt;(), &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;end&lt;/span&gt;(), &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;diff&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;auto&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;lb&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;lower_bound&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;begin&lt;/span&gt;(), &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;w&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;end&lt;/span&gt;(), &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;diff&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ans&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+=&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ub&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;lb&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;cout&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ans&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>아카이빙/BOJ</category>
      <category>2143번</category>
      <category>BOJ</category>
      <category>두 배열의 합</category>
      <category>백준</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/155</guid>
      <comments>https://debuglog.tistory.com/155#entry155comment</comments>
      <pubDate>Sun, 21 Oct 2018 18:21:03 +0900</pubDate>
    </item>
    <item>
      <title>[Effective C#] 불필요한 객체를 만들지 말라</title>
      <link>https://debuglog.tistory.com/154</link>
      <description>&lt;h3 cid=&quot;n0&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.5em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.43; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;[Effective C#] 불필요한 객체를 만들지 말라&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n4&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n5&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n6&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n7&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;가비지 콜렉터는 사용자를 대신하여 메모리를 관리하며 사용하지 않는 객체를 효율적인 방식으로 제거한다&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n90&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n89&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n84&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;그러나 이 작업이 아무리 효율적이더라도 새로운 객체를 생성하고 삭제하는 일은 그렇지 않은 일에 비해 상대적으로 많은 프로세스 시간을 잡아 먹는다&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n97&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n96&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n91&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;따라서 가비지 콜렉터가 과도하게 동작하지 않도록 주의해야 함.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n104&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n98&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n110&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;1. 자주 사용되는 지역변수를 멤버 변수로 변경&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n22&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;System&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Collections&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;System&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Collections&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Generic&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;UnityEngine&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;SpriteSetting&lt;/span&gt; : &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;System&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;IDisposable&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Vector3&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;position&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Color&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;color&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;bool&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;flipX&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;bool&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;flipY&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;SpriteSetting&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Vector3&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;position&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Color&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;color&lt;/span&gt;, &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;bool&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;flipX&lt;/span&gt;, &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;bool&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;flipY&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;position&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;position&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;color&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;color&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;flipX&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;flipX&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;flipY&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;flipY&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Dispose&lt;/span&gt; ()&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;throw&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;System&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;NotImplementedException&lt;/span&gt; ();&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;override&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ToString&lt;/span&gt; ()&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Format&lt;/span&gt; (&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;[SpriteSetting] : {0}, {1}&quot;&lt;/span&gt;, &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;position&lt;/span&gt;, &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;color&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;GarbageCollectTest&lt;/span&gt; : &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;MonoBehaviour&lt;/span&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Update&lt;/span&gt; () {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;using&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;SpriteSetting&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;spriteSetting&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;SpriteSetting&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Vector3&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;zero&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Color&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;red&lt;/span&gt;, &lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;true&lt;/span&gt;, &lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;false&lt;/span&gt;))&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Debug&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Log&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;spriteSetting&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n23&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n24&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n25&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n26&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;실제로 이런 코드를 사용할 일은 없겠지만, 위의 예제에서는 Update 메소드가 호출될 때마다 동일한 SpriteSetting 객체를 계속 생성한다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n123&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n122&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n117&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;가비지콜렉터의 콜렉팅 작업이 수행될 가능성이 높아지고, 호출 주기가 잦으므로 이러한 코드는 상당히 비효율적이다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n130&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n129&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n124&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;이 경우에는 SpriteSetting 객체를 지역변수로 선언할 것이 아니라 변수로 변경하여 객체를 한 번만 생성한 후 이를 재활용할 수 있도록 개선한다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n137&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;GarbageCollectTest&lt;/span&gt; : &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;MonoBehaviour&lt;/span&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;SpriteSetting&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;spriteSetting&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;SpriteSetting&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Vector3&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;zero&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Color&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;red&lt;/span&gt;, &lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;true&lt;/span&gt;, &lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;false&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Update&lt;/span&gt; () {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Debug&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Log&lt;/span&gt; (&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;spriteSetting&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n140&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n138&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n53&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;2. 종속성 삽입을 활용해 자주 사용되는 객체를 재활용&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n56&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;SpriteSetting&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;mySetting&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;SpriteSetting&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;FavoriteSpriteSetting&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;get&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;mySetting&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;null&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;  {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;mySetting&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;SpriteSetting&lt;/span&gt; (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Vector3&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;zero&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Color&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;red&lt;/span&gt;, &lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;true&lt;/span&gt;, &lt;span class=&quot;cm-atom&quot; style=&quot;box-sizing: border-box; color: rgb(34, 17, 153);&quot;&gt;false&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;mySetting&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n54&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n150&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n149&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n144&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;이 코드를 보면&amp;nbsp;FavoriteSpriteSetting을 최초로 요청했을 때 해당 객체를 생성한다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n162&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n161&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n156&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;SpriteSetting 클래스에서는 이렇게 생성된 객체를 저장해두고 동일한 요청이 있을 때 마다 이 객체를 돌려 준다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n169&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n168&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n163&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;객체의 수를 최소한으로 유지하기 위해 객체 생성을 제한하는 방법이다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n176&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n175&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n170&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;생성된 객체가 메모리상에 필요 이상으로 오래 남아 있을 수 있다는 단점은 있다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n77&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n112&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n111&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;3. Immutable 타입을 주의&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n113&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n189&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n190&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n191&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;변경불가능한 타입(Immutable)의 대표적인 예로는 System.String이 있다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n198&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n197&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n192&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;string 객체가 생성되면 객체가 갖고 있는 문자열의 내용은 변경이 불가능하다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n205&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n204&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n199&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;실제로 프로그래밍을 하다보면 문자열의 내용을 변경할 수 있는 것 처럼 보이지만, 새로운 문자열을 가진 string 객체가 생성되는 것이고, 이전 객체는 가비지가 된다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n212&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Start&lt;/span&gt;()&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  &lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;msg&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;Hello, &quot;&lt;/span&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  &lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;msg&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+=&lt;/span&gt; &lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;My name is &quot;&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  &lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;msg&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+=&lt;/span&gt; &lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;Debug-Log&quot;&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n215&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n218&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n219&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n220&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;앞선 코드는 실제로는 다음과 같은 비효율적인 방법으로 작업이 이루어진다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n227&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;msg&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;Hello, &quot;&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;tmp1&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;msg&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;My name is &quot;&lt;/span&gt;; &lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;// new string instance&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;msg&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;tmp1&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;tmp2&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;msg&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;Debug-Log&quot;&lt;/span&gt;; &lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;// new string instance&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;msg&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;tmp2&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n230&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n233&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n234&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n235&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;따라서 string.format이나 StringBuilder를 통해 객체 생성을 최소화 하자.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n182&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n177&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p cid=&quot;n188&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n183&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n115&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;References&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n78&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n79&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n80&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n81&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;빌 와그너 (2017), Effective C# (3rd Edition), 한빛미디어&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>아카이빙/C#</category>
      <category>C#</category>
      <category>가비지콜렉터</category>
      <category>메모리관리</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/154</guid>
      <comments>https://debuglog.tistory.com/154#entry154comment</comments>
      <pubDate>Sat, 11 Aug 2018 20:46:55 +0900</pubDate>
    </item>
    <item>
      <title>[Effective C#] 박싱과 언박싱을 최소화하라</title>
      <link>https://debuglog.tistory.com/153</link>
      <description>&lt;h3 cid=&quot;n61&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.5em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.43; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;[Effective C#] 박싱과 언박싱을 최소화하라&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n63&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n64&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n65&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n66&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;.NET Framework에서는 모든 타입의 최상위 타입을 참조타입인 System.Object로 정의하고 있다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n399&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n398&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n393&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;object는 참조형식이 때문에 힙에 데이터를 할당한다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n406&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n405&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n400&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;반면, int나 double은 값 형식이기 때문에 스택에 데이터를 할당하며, 다형적이지 못하다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n429&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n428&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n423&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;이 두가지는 양립하는 것 처럼 보이지만 앞서 모든 타입의 최상위 타입은 참조형식인 System.Object를 상속받는다고 했다. 어떻게 그럴 수 있을까?&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n436&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n435&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n430&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;.NET Framework에서는 박싱(Boxing)과 언박싱(Unboxing)이라는 방법을 통해 이 두가지 서로 다른 타입을 이어준다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n472&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;firstParam&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;5&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;secondParam&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;10&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;thirdParam&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;15&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Console&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;WriteLine&lt;/span&gt;(&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;{0} {1} {2}&quot;&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;firstParam&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;secondParam&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;thirdParam&lt;/span&gt;);&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n483&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n486&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n487&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n488&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;위와 같은 예제에서 실제로 Console.WriteLine에 들어가는 인자들은 object 배열이지만, 입력되는 값은 정수형 값 타입이다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n495&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n494&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n489&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;string으로 변환되기 위해서는 박싱을 해야한다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n496&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n497&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n498&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;박싱의 과정은 다음과 유사하다고 보면된다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n443&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;25&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;object&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;o&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;; &lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;// boxing&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Console&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;WriteLine&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;o&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ToString&lt;/span&gt;());&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n446&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n499&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n500&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n501&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;언박싱의 경우&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n460&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;object&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;firstParam&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;5&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;object&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;o&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;firstParam&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt;)&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;o&lt;/span&gt;; &lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//unboxing&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;output&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ToString&lt;/span&gt;();&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n463&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n514&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n515&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n516&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;값 형식을 참조형식으로 변환하게 되면 완전히 새로운 객체를 생성하게 되므로 성능상 취약점을 갖는다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n523&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n522&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n517&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;strong&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;따라서, 값 타입의 객체를 직접 전달하지 말고, ToString()을 활용하여 문자열 인스턴스를 전달하는 게 좋다.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n536&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n530&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n544&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n544&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;System.Collections 대신 System.Collections.Generic&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n545&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n547&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n548&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n549&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;박싱과 언박싱을 피할 수 있는 다른 규칙은 가능한 .NET 1.x의 System.Collections을 사용하는 것을 피하고, .NET 2.0에 추가된 Generic 컬렉션을 이용하는 것이다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n563&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n564&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n565&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;System.Collections의 ArrayList를 사용하는 예를 보자.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n572&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ArrayList&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;arrList&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ArrayList&lt;/span&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;arrList&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Add&lt;/span&gt;(&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;15&lt;/span&gt;);&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n575&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n578&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n579&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n580&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;ArrayList의 Add 메소드가 매개변수로 object 타입을 받기 때문에 위와 같은 코드에서는 필연적으로 박싱이 일어난다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n587&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;List&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;intList&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;List&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&lt;/span&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;intList&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Add&lt;/span&gt;(&lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;15&lt;/span&gt;);&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n590&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n593&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n594&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n595&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;위와 같이 제네릭 컬렉션인 List를 활용하자.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;orphans: 4;&quot;&gt;&lt;font color=&quot;#333333&quot; face=&quot;Open Sans, Clear Sans, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;p cid=&quot;n419&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n414&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n375&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;References&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n377&quot; mdtype=&quot;list&quot; data-mark=&quot;-&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n381&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n382&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n383&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;빌 와그너 (2017), Effective C# (3rd Edition), 한빛미디어&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n392&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n391&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n386&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;url&quot; spellcheck=&quot;false&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; word-break: break-all;&quot;&gt;&lt;a href=&quot;http://grayt.tistory.com/87&quot; style=&quot;box-sizing: border-box; cursor: pointer; color: rgb(65, 131, 196); -webkit-user-drag: none;&quot;&gt;http://grayt.tistory.com/87&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>아카이빙/C#</category>
      <category>C#</category>
      <category>effective c#</category>
      <category>박싱</category>
      <category>언박싱</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/153</guid>
      <comments>https://debuglog.tistory.com/153#entry153comment</comments>
      <pubDate>Sat, 30 Jun 2018 04:04:56 +0900</pubDate>
    </item>
    <item>
      <title>[Effective C#] string.Format()을 보간 문자열로 대체하라</title>
      <link>https://debuglog.tistory.com/152</link>
      <description>&lt;h3 cid=&quot;n61&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.5em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.43; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;[Effective C#] string.Format()을 보간 문자열로 대체하라&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n63&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n64&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n65&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n66&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;C# 6.0에는 보간문자열(Interpolated string)이라는 새로운 기능이 도입되었다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n67&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n68&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n69&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;보간문자열이 뭘까? 예시로 살펴보자&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n72&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;5&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;13&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;str1&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;str2&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;// 이랬던 것을&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;str1&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Format&lt;/span&gt;(&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;{0} + {1} = {2}&quot;&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Console&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;WriteLine&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;str1&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;// 이렇게 바꾼다&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;str2&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;{a} + {b} = {a + b}&quot;&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Console&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;WriteLine&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;str2&lt;/span&gt;);&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n79&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n86&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n87&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n88&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;string.Format() 은 직접 출력해보고 눈으로 확인하기 전까지는 코드를 제대로 작성했는지 쉽게 짐작하기 어려운 반면, 보간 문자열은 포맷 안에 실제 인자가 들어가기 때문에 직관적으로 이해할 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n95&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n94&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n89&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;보간 문자열을 사용하려면 문자열 앞에&amp;nbsp;'$'을 붙이면 된다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n231&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n225&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n238&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;Alignment와 FormatString&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n232&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n224&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n223&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n218&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; border: 1px solid rgb(223, 226, 229); background-color: rgb(248, 248, 248); border-radius: 3px; padding: 2px 4px 0px;&quot;&gt;string.Format(&quot;{0:N1}&quot;, a)&lt;/code&gt;&lt;/span&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&amp;nbsp;처럼 보간 문자열도 FormatString을 지원한다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n245&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n244&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n239&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;더불어 alignment도 같이 살펴보자.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n195&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n196&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n197&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;code&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;code style=&quot;box-sizing: border-box; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; border: 1px solid rgb(223, 226, 229); background-color: rgb(248, 248, 248); border-radius: 3px; padding: 2px 4px 0px;&quot;&gt;{&amp;lt;interpolatedExpression&amp;gt;,&amp;lt;alignment&amp;gt;:&amp;lt;formatString&amp;gt;}&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n189&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//Alignment; 값이 양수이면 우측정렬, 음수이면 좌측 정렬이다.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;5&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;b&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;13&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Console&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;WriteLine&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;{a, -5}|{b, 5}&quot;&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;/* Result&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;5 &amp;nbsp;  | &amp;nbsp; 13&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;*/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//FormatString&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Console&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;WriteLine&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;{Math.PI:F2}&quot;&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;/* Result&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;3.14&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;*/&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n192&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n190&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n253&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;삼항연산자를 사용할 때&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n254&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n256&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n257&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n258&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;다음과 같이 괄호를 한 번더 씌워야한다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n265&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;rand&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Random&lt;/span&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;for&lt;/span&gt;(&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;0&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;5&lt;/span&gt;; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;++&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Console&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;WriteLine&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;{(rand.NextDouble() &amp;lt; 0.5 ? &quot;&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;heads&lt;/span&gt;&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot; : &quot;&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;tail&lt;/span&gt;&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;)}&quot;&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n268&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n266&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n114&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;Miscellaneous&lt;/span&gt;&lt;/h4&gt;&lt;p cid=&quot;n124&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n125&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;유니티에서는 보간문자열을 쓸 수 있을까?&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n121&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n132&quot; mdtype=&quot;list_item&quot; style=&quot;white-space: pre-wrap; box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n131&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n126&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;유니티 2017버전은 기본적으로 .NET 3.5 버전, C# 4.0을 사용하고 있기 때문에 사용할 수 없다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n139&quot; mdtype=&quot;list_item&quot; style=&quot;white-space: pre-wrap; box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n138&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n133&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;빌드 세팅에서 스크립팅 런타임 업그레이드 설정을 하면 .NET 4.6 버전을 Experimental 옵션으로 사용할 수 있다. Unstable 하지만 C# 6.0의 문법을 실험해볼 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n154&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;white-space: pre-wrap; box-sizing: border-box; margin: 0px; padding-left: 30px; position: relative;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n153&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n152&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n147&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;url&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box; word-break: break-all;&quot;&gt;&lt;a href=&quot;https://docs.unity3d.com/kr/2018.1/Manual/ScriptingRuntimeUpgrade.html&quot; style=&quot;box-sizing: border-box; cursor: pointer; color: rgb(65, 131, 196); -webkit-user-drag: none;&quot;&gt;https://docs.unity3d.com/kr/2018.1/Manual/ScriptingRuntimeUpgrade.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n161&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n160&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n155&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;유니티 2018.1 베타버전에서 부터 .NET 4.6이 no longer experimental이라는 소식이 있으니 기대된다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div style=&quot;orphans: 4;&quot;&gt;&lt;font color=&quot;#333333&quot; face=&quot;Open Sans, Clear Sans, Helvetica Neue, Helvetica, Arial, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;orphans: 4;&quot;&gt;&lt;h4 cid=&quot;n335&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; orphans: 2; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;References&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n336&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; orphans: 2; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n347&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n346&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n341&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;url&quot; spellcheck=&quot;false&quot; style=&quot;box-sizing: border-box; word-break: break-all;&quot;&gt;&lt;a href=&quot;https://docs.microsoft.com/ko-kr/dotnet/csharp/tutorials/string-interpolation&quot; style=&quot;box-sizing: border-box; cursor: pointer; color: rgb(65, 131, 196); -webkit-user-drag: none;&quot;&gt;https://docs.microsoft.com/ko-kr/dotnet/csharp/tutorials/string-interpolation&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n354&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n353&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block md-focus&quot; cid=&quot;n348&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;빌 와그너&amp;nbsp;(2017), Effective C# (3rd Edition), 한빛미디어&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>아카이빙/C#</category>
      <category>C#</category>
      <category>C#6.0</category>
      <category>effective c#</category>
      <category>String.Format</category>
      <category>문자열 보간</category>
      <category>보간 문자열</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/152</guid>
      <comments>https://debuglog.tistory.com/152#entry152comment</comments>
      <pubDate>Sat, 30 Jun 2018 02:34:24 +0900</pubDate>
    </item>
    <item>
      <title>[CleanCode] 의미있는 이름</title>
      <link>https://debuglog.tistory.com/151</link>
      <description>&lt;h3 cid=&quot;n0&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.5em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.43; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;[CleanCode] 의미있는 이름&lt;/span&gt;&lt;/h3&gt;&lt;h4 cid=&quot;n5&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;의도가 분명히 밝혀라&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n8&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;d&lt;/span&gt;; &lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;// 경과시간 (단위 : 날짜)&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n12&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n15&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n16&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n17&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;이름 d에는 아무 의미도 드러나지 않는다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n24&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;elapsedTimeInDays&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;daysSinceCreation&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;daysSinceModification&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;fileAgeInDays&lt;/span&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n27&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n30&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n31&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n32&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;경과 시간이나 날짜라는 느낌을 표현하는 이름이 필요하다&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n62&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n56&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n80&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n80&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;그릇된 정보를 피하라&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n81&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n83&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n84&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n85&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;오해를 불러 일으키는 코드는 피하자&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n92&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n91&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n86&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;여러 계정을 그룹으로 묶을 때, 실제 List가 아니라면, accountList라는 명명을 하지 말자.&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n100&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0px; padding-left: 30px; position: relative;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n99&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n98&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n93&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;accountGroup, bunchOfAccounts, Accounts 등이 적절하다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n107&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n106&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n101&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;서로 비슷한 두 이름을 사용하는 것도 좋지 않다.&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n115&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0px; padding-left: 30px; position: relative;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n114&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n113&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n108&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;XYZControllerForEfficientHandlingOfString 과 XYZControllerForEfficientStorageOfString은 차이를 알아채기 어렵다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n129&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n123&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n136&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n136&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;의미 있게 구분하라&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n137&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n139&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n140&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n141&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;연속된 숫자를 덧붙이는 방식은 적절치 못하다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n148&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//Bad Case&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;copyChar&lt;/span&gt;(&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;char&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a1&lt;/span&gt;[], &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;char&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;a2&lt;/span&gt;[])&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//Do Something&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//Good Case&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;copyChar&lt;/span&gt;(&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;char&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;source&lt;/span&gt;[], &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;char&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;destination&lt;/span&gt;[])&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-comment&quot; style=&quot;box-sizing: border-box; color: rgb(170, 85, 0);&quot;&gt;//Do Something&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n151&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n149&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n45&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n154&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n155&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n156&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;Product라는 클래스가 있다면, ProductInfo 나 ProductData 라는 클래스는 무슨 역할을 하는지 불분명하다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n170&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n169&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n164&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;Name과 NameString, Customer와 CustomerObject 역시 마찬가지다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n177&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n176&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n171&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;getActiveAccount(), getActiveAccounts(), getActiveAccountInfo() 또한 차이를 알 수 없다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n184&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n178&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n190&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n190&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;발음하기 쉬운 이름을 사용하라&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n191&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n193&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n194&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n195&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;genymdhms&amp;nbsp;(generate date, year, month, day, hour, minute, second)라는 이름은 발음하기 너무 어렵다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n202&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n201&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n196&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;generationTimestamp가 적절하다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n209&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n203&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n215&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n215&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;검색하기 쉬운 이름을 사용하라&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n216&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n218&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n219&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n220&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;문자 하나를 사용하는 이름과 상수는 텍스트 코드에서 쉽게 눈에 띄지 않는다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n227&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n226&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n221&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;5대신 WORK_DAYS_PER_WEEK을 사용하자.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n234&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n228&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n242&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n242&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;인코딩을 피하라&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n243&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n245&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n246&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n247&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;헝가리안 표기법은 예전에 컴파일러가 타입을 점검하지 않을 때 쓰던 방식.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n254&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n253&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n248&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;멤버 변수에 m_ 접두어를 붙일 필요도 없다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n261&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n255&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n271&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n271&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;클래스 이름&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n273&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n275&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n276&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n277&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;클래스와 객체 이름은 명사/명사구가 적합하다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n284&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n283&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n278&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;Customer, WikiPage, AddressParser 등이 좋은 예이다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n291&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n290&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n285&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;Manager, Processor, Data, Info 등과 같은 단어는 피하고 동사는 사용하지 말자.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n298&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n292&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n304&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n304&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;메서드 이름&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n305&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n307&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n308&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n309&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;동사나 동사구가 적합하다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n316&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n315&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n310&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;PostPayment, DeletePage, Save 등이 좋다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n323&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n317&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n329&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n329&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;한 개념에 한 단어를 사용하라&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n330&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n332&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n333&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n334&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;똑같은 메서드를 클래스마다 fetch, retrieve, get으로 제각각 부르면 혼란스럽다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n341&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n340&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n335&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;마찬가지로 동일 코드 기반에 Controller, Manager, Driver를 섞어 쓰면 혼란스럽다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n348&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n342&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n354&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n354&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;해법 영역에서 가져온 이름을 사용하라&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n357&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n359&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n360&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n361&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;코드를 읽을 사람도 프로그래머이다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n368&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n367&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n362&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;전산 용어, 알고리즘 이름, 패턴 이름 등을 사용해도 좋다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n375&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n374&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n369&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;JobQueue 등&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n382&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n376&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n388&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n388&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;의미있는 맥락을 추가하라&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n389&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n391&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n392&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n393&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;firstName, lastNam, street, houseNumber, city, state, zipcode라는 변수가 있다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n400&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n399&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n394&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;주소와 관련되어 있다는 사실을 쉽게 알아 차릴 수 있지만, 어떤 메서드가 state라는 변수하나만 사용한다면 어렵다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n407&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n406&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n401&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;addr라는 접두어를 추가해서 맥락을 더 구분하기 쉽게 한다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n414&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n413&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n408&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;Address라는 클래스를 생성하면 더 좋다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n421&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n415&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n427&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 cid=&quot;n427&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;불필요한 맥락을 없애자&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n428&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n430&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n431&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n432&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;Gas Station Deluxe라는 어플리케이션을 짠다고 가정학, 모든 클래스이름을 GSD로 시작한다는 생각은 바람직하지 못하다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n439&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n438&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n433&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;IDE에서 G를 입력하고 자동완성을 하려면 모든 클래스를 열거 한다. IDE를 방해할 이유는 없다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>아카이빙/Clean Code</category>
      <category>cleancode</category>
      <category>의미있는 이름</category>
      <category>클린코드</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/151</guid>
      <comments>https://debuglog.tistory.com/151#entry151comment</comments>
      <pubDate>Thu, 28 Jun 2018 20:53:57 +0900</pubDate>
    </item>
    <item>
      <title>[C#] LINQ</title>
      <link>https://debuglog.tistory.com/150</link>
      <description>&lt;h3 cid=&quot;n0&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading md-focus&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.5em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.43; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; class=&quot;md-expand&quot; style=&quot;box-sizing: border-box;&quot;&gt;[C#] LINQ&lt;/span&gt;&lt;/h3&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n3&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n5&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n6&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n7&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;LINQ는 데이터 작업에 특화된 C#의 기능이다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n202&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n201&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n196&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;LINQ&amp;nbsp;(Language INtegrated Query)의 약어. C#언어에 통합된 데이터 질의(query) 기능&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n217&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n216&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n211&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;쿼리는 기본 적으로 다음과 같은 내용을 포함&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n210&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0px; padding-left: 30px; position: relative;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n209&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n208&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n203&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;From : 어떤 데이터 집합에서 찾을 것인가?&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n224&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n223&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n218&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;Where : 어떤 값의 데이터를 찾을 것인가?&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n231&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n230&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n225&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;Select : 어떤 항목을 추출할 것 인가?&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p cid=&quot;n238&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n232&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n29&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;LINQ 예제&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n252&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n254&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n255&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n256&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;예를 들어보자.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n263&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n262&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n257&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;다음과 같이 키와 이름을 필드로 갖는 Profile 클래스가 있다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n270&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;Profile&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Name&lt;/span&gt; {&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;get&lt;/span&gt;; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;set&lt;/span&gt;;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Height&lt;/span&gt; {&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;get&lt;/span&gt;; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;set&lt;/span&gt;;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt;(&lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;name&lt;/span&gt;, &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;height&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Name&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;name&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Height&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;height&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;override&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;ToString&lt;/span&gt;()&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-variable-3&quot; style=&quot;box-sizing: border-box; color: rgb(0, 136, 85);&quot;&gt;string&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Format&lt;/span&gt;(&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;{0}, {1}&quot;&lt;/span&gt;, &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Name&lt;/span&gt;, &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;this&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Height&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n273&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n298&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n299&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n300&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;그리고 Profile 배열을 만들어보자.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n307&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt;[] &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;arrProfile&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt;(&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;Stephen Curry&quot;&lt;/span&gt;, &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;191&lt;/span&gt;),&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt;(&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;Kevin Durant&quot;&lt;/span&gt;, &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;206&lt;/span&gt;),&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt;(&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;LeBron James&quot;&lt;/span&gt;, &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;203&lt;/span&gt;),&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt;(&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;James Harden&quot;&lt;/span&gt;, &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;196&lt;/span&gt;),&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt;(&lt;span class=&quot;cm-string&quot; style=&quot;box-sizing: border-box; color: rgb(170, 17, 17);&quot;&gt;&quot;Russell Westbrook&quot;&lt;/span&gt;, &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;190&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;  };&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n316&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n314&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n281&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n282&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n283&quot; mdtype=&quot;paragraph&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n284&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;여기서 키가 200 이하인 Profile들을 오름차순으로 정렬하고자 한다면?&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n291&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n290&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n285&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;LINQ를 모른다면 다음과 같이 할 것이다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n30&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;List&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profiles&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;List&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt;&lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;gt;&lt;/span&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;foreach&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Profile&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profile&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;arrProfile&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;if&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profile&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Height&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;200&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profiles&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Add&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profile&lt;/span&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profiles&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Sort&lt;/span&gt;(&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  (&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;p1&lt;/span&gt;, &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;p2&lt;/span&gt;) &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&amp;gt;&lt;/span&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;p1&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Height&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;p2&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Height&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  }&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;foreach&lt;/span&gt;(&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;profile&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profiles&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Console&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;WriteLine&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profile&lt;/span&gt;);&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n34&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n32&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n42&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n320&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n321&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n322&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;그러나 LINQ를 활용하면 다음과 같이 코드를 간결히 줄일 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;md-fences md-end-block&quot; lang=&quot;c#&quot; contenteditable=&quot;false&quot; cid=&quot;n43&quot; mdtype=&quot;fences&quot; style=&quot;box-sizing: border-box; overflow: visible; font-family: Consolas, &amp;quot;Liberation Mono&amp;quot;, Courier, monospace; font-size: 0.9em; break-inside: avoid; background-image: inherit; background-position: inherit; background-size: inherit; background-repeat: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); border: 1px solid rgb(223, 226, 229); border-radius: 3px; padding: 8px 1em 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; color: rgb(51, 51, 51); position: relative !important;&quot;&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;profiles2&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profile&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;arrProfile&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt; &amp;nbsp; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;where&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profile&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Height&lt;/span&gt; &lt;span class=&quot;cm-operator&quot; style=&quot;box-sizing: border-box; color: rgb(152, 26, 26);&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;cm-number&quot; style=&quot;box-sizing: border-box; color: rgb(17, 102, 68);&quot;&gt;200&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp;  &lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt; &amp;nbsp; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;orderby&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profile&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Height&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;cm-tab&quot; role=&quot;presentation&quot; cm-text=&quot;	&quot; style=&quot;box-sizing: border-box; font-family: var(--monospace); position: relative; display: inline-block;&quot;&gt;    &lt;/span&gt; &amp;nbsp; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;select&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profile&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span cm-text=&quot;&quot; style=&quot;box-sizing: border-box;&quot;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt;&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;foreach&lt;/span&gt;(&lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;cm-def&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 255);&quot;&gt;profile&lt;/span&gt; &lt;span class=&quot;cm-keyword&quot; style=&quot;box-sizing: border-box; color: rgb(119, 0, 136);&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profiles2&lt;/span&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span role=&quot;presentation&quot; style=&quot;box-sizing: border-box; padding-right: 0.1px;&quot;&gt; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;Console&lt;/span&gt;.&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;WriteLine&lt;/span&gt;(&lt;span class=&quot;cm-variable&quot; style=&quot;box-sizing: border-box; color: rgb(0, 0, 0);&quot;&gt;profile&lt;/span&gt;);&lt;/span&gt;&lt;/pre&gt;&lt;p cid=&quot;n124&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.8em 0px; position: relative; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n118&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline-block;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;h4 cid=&quot;n130&quot; mdtype=&quot;heading&quot; class=&quot;md-end-block md-heading&quot; style=&quot;box-sizing: border-box; break-inside: avoid; break-after: avoid-page; font-size: 1.25em; position: relative; margin-top: 1rem; margin-bottom: 1rem; line-height: 1.4; cursor: text; width: inherit; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; white-space: pre-wrap;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;참조&lt;/span&gt;&lt;/h4&gt;&lt;ul class=&quot;ul-list&quot; cid=&quot;n131&quot; mdtype=&quot;list&quot; data-mark=&quot;*&quot; style=&quot;box-sizing: border-box; margin: 0.8em 0px 0px; padding-left: 30px; position: relative; color: rgb(51, 51, 51); font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;Clear Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;li class=&quot;md-list-item&quot; cid=&quot;n133&quot; mdtype=&quot;list_item&quot; style=&quot;box-sizing: border-box; margin: 0px; position: relative;&quot;&gt;&lt;p cid=&quot;n134&quot; mdtype=&quot;paragraph&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; orphans: 4; -webkit-margin-before: 1rem; -webkit-margin-after: 1rem; margin: 0.5rem 0px; white-space: normal; position: relative; width: inherit;&quot;&gt;&lt;span class=&quot;md-line md-end-block&quot; cid=&quot;n135&quot; mdtype=&quot;line&quot; style=&quot;box-sizing: border-box; display: inline;&quot;&gt;&lt;span md-inline=&quot;plain&quot; style=&quot;box-sizing: border-box;&quot;&gt;뇌를 자극하는 C# 5.0 프로그래밍, 박상현, 한빛미디어&lt;/span&gt;&lt;span md-inline=&quot;linebreak&quot; class=&quot;&quot; style=&quot;box-sizing: border-box; white-space: pre-wrap;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>아카이빙/C#</category>
      <category>C#</category>
      <category>linq</category>
      <author>셩님</author>
      <guid isPermaLink="true">https://debuglog.tistory.com/150</guid>
      <comments>https://debuglog.tistory.com/150#entry150comment</comments>
      <pubDate>Tue, 26 Jun 2018 14:58:44 +0900</pubDate>
    </item>
  </channel>
</rss>